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