Class FullTextConstraint
- java.lang.Object
-
- org.apache.jackrabbit.core.query.lucene.constraint.SelectorBasedConstraint
-
- org.apache.jackrabbit.core.query.lucene.constraint.QueryConstraint
-
- org.apache.jackrabbit.core.query.lucene.constraint.FullTextConstraint
-
- All Implemented Interfaces:
Constraint
public class FullTextConstraint extends QueryConstraint
FullTextConstraint
implements a full text search constraint.
-
-
Constructor Summary
Constructors Constructor Description FullTextConstraint(FullTextSearchImpl fts, SelectorImpl selector, LuceneQueryFactory factory)
Creates a new full text search constraint.
-
Method Summary
-
Methods inherited from class org.apache.jackrabbit.core.query.lucene.constraint.QueryConstraint
evaluate
-
Methods inherited from class org.apache.jackrabbit.core.query.lucene.constraint.SelectorBasedConstraint
getSelector, getSelectorIndex
-
-
-
-
Constructor Detail
-
FullTextConstraint
public FullTextConstraint(FullTextSearchImpl fts, SelectorImpl selector, LuceneQueryFactory factory) throws RepositoryException
Creates a new full text search constraint.- Parameters:
fts
- the QOM constraint.selector
- the selector for this constraint.factory
- the lucene query factory.- Throws:
RepositoryException
- if an error occurs while building the query.
-
-