Class LuceneScore<Q,S,E extends Throwable>
java.lang.Object
org.alfresco.repo.search.impl.querymodel.impl.BaseFunction
org.alfresco.repo.search.impl.querymodel.impl.functions.Score
org.alfresco.repo.search.impl.querymodel.impl.lucene.functions.LuceneScore<Q,S,E>
- All Implemented Interfaces:
Function,LuceneQueryBuilderComponent<Q,S, E>
public class LuceneScore<Q,S,E extends Throwable>
extends Score
implements LuceneQueryBuilderComponent<Q,S,E>
- Author:
- andyh
-
Field Summary
Fields inherited from class org.alfresco.repo.search.impl.querymodel.impl.functions.Score
ARG_QUALIFIER, args, NAME -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddComponent(Set<String> selectors, Map<String, Argument> functionArgs, QueryBuilderContext<Q, S, E> luceneContext, FunctionEvaluationContext functionContext) Generate the lucene query from the query componentMethods inherited from class org.alfresco.repo.search.impl.querymodel.impl.BaseFunction
getArgumentDefinition, getArgumentDefinitions, getName, getReturnType, toString
-
Constructor Details
-
LuceneScore
public LuceneScore()
-
-
Method Details
-
addComponent
public Q addComponent(Set<String> selectors, Map<String, Argument> functionArgs, QueryBuilderContext<Q, throws ES, E> luceneContext, FunctionEvaluationContext functionContext) Description copied from interface:LuceneQueryBuilderComponentGenerate the lucene query from the query component- Specified by:
addComponentin interfaceLuceneQueryBuilderComponent<Q,S, E extends Throwable> functionContext- FunctionEvaluationContext- Returns:
- - the lucene query fragment for this component
- Throws:
E
-