Lucene++ - a full-featured, c++ search engine
API Documentation
Go to the documentation of this file.
7 #ifndef MULTIPHRASEQUERY_H
8 #define MULTIPHRASEQUERY_H
36 void setSlop(int32_t s);
60 virtual void extractTerms(SetTerm terms);
65 virtual String toString(
const String& field);
68 virtual int32_t hashCode();
72 int32_t termArraysHashCode();
75 friend class MultiPhraseWeight;
#define LUCENE_CLASS(Name)
Definition: LuceneObject.h:24
boost::shared_ptr< Term > TermPtr
Definition: LuceneTypes.h:233
Utility template class to handle collections that can be safely copied and shared.
Definition: Collection.h:17
Collection< int32_t > positions
Definition: MultiPhraseQuery.h:28
boost::shared_ptr< LuceneObject > LuceneObjectPtr
Definition: LuceneTypes.h:539
Collection< Collection< TermPtr > > termArrays
Definition: MultiPhraseQuery.h:27
boost::shared_ptr< Query > QueryPtr
Definition: LuceneTypes.h:420
Definition: AbstractAllTermDocs.h:12
boost::shared_ptr< Weight > WeightPtr
Definition: LuceneTypes.h:480
int32_t slop
Definition: MultiPhraseQuery.h:29
boost::shared_ptr< IndexReader > IndexReaderPtr
Definition: LuceneTypes.h:157
The abstract base class for queries.
Definition: Query.h:31
MultiPhraseQuery is a generalized version of PhraseQuery, with an added method add(Term[])....
Definition: MultiPhraseQuery.h:18
virtual String toString()
Prints a query to a string.
boost::shared_ptr< Searcher > SearcherPtr
Definition: LuceneTypes.h:434
clucene.sourceforge.net