Class KeyMatchHelper

java.lang.Object
org.codelibs.fess.helper.AbstractConfigHelper
org.codelibs.fess.helper.KeyMatchHelper

public class KeyMatchHelper extends AbstractConfigHelper
  • Field Details

    • keyMatchQueryMap

      protected volatile Map<String,Map<String,List<org.codelibs.core.misc.Tuple3<String,org.opensearch.index.query.QueryBuilder,org.opensearch.index.query.functionscore.ScoreFunctionBuilder<?>>>>> keyMatchQueryMap
  • Constructor Details

    • KeyMatchHelper

      public KeyMatchHelper()
  • Method Details

    • init

      @PostConstruct public void init()
    • getAvailableKeyMatchList

      public List<KeyMatch> getAvailableKeyMatchList()
    • load

      public int load()
      Specified by:
      load in class AbstractConfigHelper
    • getDocumentList

      protected List<Map<String,Object>> getDocumentList(KeyMatch keyMatch)
    • getQueryMap

      protected Map<String,List<org.codelibs.core.misc.Tuple3<String,org.opensearch.index.query.QueryBuilder,org.opensearch.index.query.functionscore.ScoreFunctionBuilder<?>>>> getQueryMap(String key)
    • buildQuery

      public void buildQuery(List<String> keywordList, List<org.opensearch.index.query.functionscore.FunctionScoreQueryBuilder.FilterFunctionBuilder> list)
    • getBoostedDocumentList

      public List<Map<String,Object>> getBoostedDocumentList(KeyMatch keyMatch)