org.apache.jackrabbit.core.query.lucene.constraint
Class FullTextConstraint

java.lang.Object
  extended by org.apache.jackrabbit.core.query.lucene.constraint.SelectorBasedConstraint
      extended by org.apache.jackrabbit.core.query.lucene.constraint.QueryConstraint
          extended by 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
FullTextConstraint(org.apache.jackrabbit.spi.commons.query.qom.FullTextSearchImpl fts, org.apache.jackrabbit.spi.commons.query.qom.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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FullTextConstraint

public FullTextConstraint(org.apache.jackrabbit.spi.commons.query.qom.FullTextSearchImpl fts,
                          org.apache.jackrabbit.spi.commons.query.qom.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.


Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.