Lucene++ - a full-featured, c++ search engine
API Documentation
Go to the documentation of this file.
7 #ifndef WILDCARDQUERY_H
8 #define WILDCARDQUERY_H
virtual QueryPtr rewrite(const IndexReaderPtr &reader)
Called to re-write queries into primitive queries. For example, a PrefixQuery will be rewritten into ...
#define LUCENE_CLASS(Name)
Definition: LuceneObject.h:24
boost::shared_ptr< Term > TermPtr
Definition: LuceneTypes.h:233
boost::shared_ptr< LuceneObject > LuceneObjectPtr
Definition: LuceneTypes.h:539
boost::shared_ptr< Query > QueryPtr
Definition: LuceneTypes.h:420
bool termContainsWildcard
Definition: WildcardQuery.h:26
virtual String toString(const String &field)
Prints a user-readable version of this query.
Definition: AbstractAllTermDocs.h:12
bool termIsPrefix
Definition: WildcardQuery.h:30
boost::shared_ptr< IndexReader > IndexReaderPtr
Definition: LuceneTypes.h:157
virtual bool equals(const LuceneObjectPtr &other)
Return whether two objects are equal.
TermPtr getTerm()
Returns the pattern term.
virtual LuceneObjectPtr clone(const LuceneObjectPtr &other=LuceneObjectPtr())
Returns a clone of this query.
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.
Implements the wildcard search query. Supported wildcards are *, which matches any character sequence...
Definition: WildcardQuery.h:21
WildcardQuery(const TermPtr &term)
TermPtr term
Definition: WildcardQuery.h:31
An abstract Query that matches documents containing a subset of terms provided by a {} enumeration.
Definition: MultiTermQuery.h:31
virtual String toString()
Prints a query to a string.
boost::shared_ptr< FilteredTermEnum > FilteredTermEnumPtr
Definition: LuceneTypes.h:365
clucene.sourceforge.net