7 #ifndef QUERYTERMVECTOR_H
8 #define QUERYTERMVECTOR_H
#define LUCENE_CLASS(Name)
Definition: LuceneObject.h:24
Base class for all Lucene classes.
Definition: LuceneObject.h:31
Definition: QueryTermVector.h:14
Collection< int32_t > indexesOf(Collection< String > terms, int32_t start, int32_t length)
Just like indexOf(int) but searches for a number of terms at the same time. Returns an array that has...
virtual ~QueryTermVector()
Collection< String > terms
Definition: QueryTermVector.h:22
int32_t indexOf(const String &term)
Return an index in the term numbers array returned from getTerms at which the term with the specified...
Collection< int32_t > getTermFrequencies()
Array of term frequencies. Locations of the array correspond one to one to the terms in the array obt...
virtual String toString()
Returns a string representation of the object.
void processTerms(Collection< String > queryTerms)
QueryTermVector(const String &queryString, const AnalyzerPtr &analyzer)
QueryTermVector(Collection< String > queryTerms)
Collection< int32_t > termFreqs
Definition: QueryTermVector.h:26
Collection< String > getTerms()
Provides access to stored term vector of a document field. The vector consists of the name of the fie...
Definition: TermFreqVector.h:18
Definition: AbstractAllTermDocs.h:12
boost::shared_ptr< Analyzer > AnalyzerPtr
Definition: LuceneTypes.h:20