Class LuceneDisjunction<Q,S,E extends Throwable>
java.lang.Object
org.alfresco.repo.search.impl.querymodel.impl.BaseConstraint
org.alfresco.repo.search.impl.querymodel.impl.BaseDisjunction
org.alfresco.repo.search.impl.querymodel.impl.lucene.LuceneDisjunction<Q,S,E>
- All Implemented Interfaces:
Constraint
,Disjunction
,LuceneQueryBuilderComponent<Q,
S, E>
public class LuceneDisjunction<Q,S,E extends Throwable>
extends BaseDisjunction
implements LuceneQueryBuilderComponent<Q,S,E>
- Author:
- andyh
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.alfresco.repo.search.impl.querymodel.Constraint
Constraint.Occur
-
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.BaseDisjunction
evaluate, getConstraints, toString
Methods inherited from class org.alfresco.repo.search.impl.querymodel.impl.BaseConstraint
getBoost, getOccur, setBoost, setOccur
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.alfresco.repo.search.impl.querymodel.Constraint
getBoost, getOccur, setBoost, setOccur
-
Constructor Details
-
LuceneDisjunction
-
-
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:LuceneQueryBuilderComponent
Generate the lucene query from the query component- Specified by:
addComponent
in interfaceLuceneQueryBuilderComponent<Q,
S, E extends Throwable> functionContext
- FunctionEvaluationContext- Returns:
- - the lucene query fragment for this component
- Throws:
E
-