31 using MultiTermQuery::toString;
#define LUCENE_CLASS(Name)
Definition LuceneObject.h:24
An abstract Query that matches documents containing a subset of terms provided by a FilteredTermEnum ...
Definition MultiTermQuery.h:31
A Query that matches documents containing terms with a specified prefix. A PrefixQuery is built by Qu...
Definition PrefixQuery.h:18
virtual FilteredTermEnumPtr getEnum(const IndexReaderPtr &reader)
Construct the enumeration to be used, expanding the pattern term.
virtual int32_t hashCode()
Return hash code for this object.
virtual bool equals(const LuceneObjectPtr &other)
Return whether two objects are equal.
virtual LuceneObjectPtr clone(const LuceneObjectPtr &other=LuceneObjectPtr())
Returns a clone of this query.
TermPtr getPrefix()
Returns the prefix of this query.
virtual String toString(const String &field)
Prints a user-readable version of this query.
TermPtr prefix
Definition PrefixQuery.h:28
PrefixQuery(const TermPtr &prefix)
Constructs a query for terms starting with prefix.
Definition AbstractAllTermDocs.h:12
boost::shared_ptr< LuceneObject > LuceneObjectPtr
Definition LuceneTypes.h:539
boost::shared_ptr< Term > TermPtr
Definition LuceneTypes.h:233
boost::shared_ptr< IndexReader > IndexReaderPtr
Definition LuceneTypes.h:157
boost::shared_ptr< FilteredTermEnum > FilteredTermEnumPtr
Definition LuceneTypes.h:365