7#ifndef TERMFREQVECTOR_H
8#define TERMFREQVECTOR_H
44 virtual int32_t
indexOf(
const String& term);
#define LUCENE_INTERFACE(Name)
Definition LuceneObject.h:19
Utility template class to handle collections that can be safely copied and shared.
Definition Collection.h:17
Provides access to stored term vector of a document field. The vector consists of the name of the fie...
Definition TermFreqVector.h:18
virtual Collection< int32_t > getTermFrequencies()
Array of term frequencies. Locations of the array correspond one to one to the terms in the array obt...
virtual int32_t indexOf(const String &term)
Return an index in the term numbers array returned from getTerms at which the term with the specified...
virtual String getField()
The Fieldable name.
virtual 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 ~TermFreqVector()
virtual Collection< String > getTerms()
Definition AbstractAllTermDocs.h:12