Class FullTextConstraint

  • All Implemented Interfaces:
    Constraint

    public class FullTextConstraint
    extends QueryConstraint
    FullTextConstraint implements a full text search constraint.
    • 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.