Package org.codelibs.fess.helper
Class KeyMatchHelper
java.lang.Object
org.codelibs.fess.helper.AbstractConfigHelper
org.codelibs.fess.helper.KeyMatchHelper
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Map<String,Map<String, List<org.codelibs.core.misc.Tuple3<String, org.opensearch.index.query.QueryBuilder, org.opensearch.index.query.functionscore.ScoreFunctionBuilder<?>>>>> Fields inherited from class org.codelibs.fess.helper.AbstractConfigHelper
reloadInterval -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbuildQuery(List<String> keywordList, List<org.opensearch.index.query.functionscore.FunctionScoreQueryBuilder.FilterFunctionBuilder> list) getBoostedDocumentList(KeyMatch keyMatch) getDocumentList(KeyMatch keyMatch) protected Map<String,List<org.codelibs.core.misc.Tuple3<String, org.opensearch.index.query.QueryBuilder, org.opensearch.index.query.functionscore.ScoreFunctionBuilder<?>>>> getQueryMap(String key) voidinit()intload()Methods inherited from class org.codelibs.fess.helper.AbstractConfigHelper
setReloadInterval, update, waitForNext
-
Field Details
-
keyMatchQueryMap
-
-
Constructor Details
-
KeyMatchHelper
public KeyMatchHelper()
-
-
Method Details
-
init
@PostConstruct public void init() -
getAvailableKeyMatchList
-
load
public int load()- Specified by:
loadin classAbstractConfigHelper
-
getDocumentList
-
getQueryMap
-
buildQuery
-
getBoostedDocumentList
-