Lucene++ - a full-featured, c++ search engine
API Documentation
Go to the documentation of this file.
7 #ifndef SEGMENTTERMDOCS_H
8 #define SEGMENTTERMDOCS_H
55 virtual int32_t
doc();
78 virtual void skipProx(int64_t proxPointer, int32_t payloadLength);
int32_t count
Definition: SegmentTermDocs.h:24
virtual void freqStream(const IndexInputPtr &freqStream)
virtual void close()
Frees associated resources.
#define LUCENE_CLASS(Name)
Definition: LuceneObject.h:24
virtual ~SegmentTermDocs()
virtual bool skipTo(int32_t target)
Optimized implementation.
boost::shared_ptr< Term > TermPtr
Definition: LuceneTypes.h:233
virtual IndexInputPtr freqStream()
Used for testing.
virtual int32_t freq()
Returns the frequency of the term within the current document.
SegmentReaderWeakPtr _parent
Definition: SegmentTermDocs.h:19
int64_t proxBasePointer
Definition: SegmentTermDocs.h:35
SegmentTermDocs(const SegmentReaderPtr &parent)
Definition: SegmentTermDocs.h:14
virtual int32_t readNoTf(Collection< int32_t > docs, Collection< int32_t > freqs, int32_t length)
bool currentFieldOmitTermFreqAndPositions
Definition: SegmentTermDocs.h:41
DefaultSkipListReaderPtr skipListReader
Definition: SegmentTermDocs.h:32
boost::shared_ptr< SegmentReader > SegmentReaderPtr
Definition: LuceneTypes.h:215
int32_t maxSkipLevels
Definition: SegmentTermDocs.h:31
boost::shared_ptr< BitVector > BitVectorPtr
Definition: LuceneTypes.h:523
bool haveSkipped
Definition: SegmentTermDocs.h:38
bool currentFieldStoresPayloads
Definition: SegmentTermDocs.h:40
int32_t df
Definition: SegmentTermDocs.h:25
int32_t _freq
Definition: SegmentTermDocs.h:28
virtual void skipProx(int64_t proxPointer, int32_t payloadLength)
Overridden by SegmentTermPositions to skip in prox stream.
Definition: AbstractAllTermDocs.h:12
Base class for all Lucene classes.
Definition: LuceneObject.h:31
int32_t skipInterval
Definition: SegmentTermDocs.h:30
boost::shared_ptr< TermEnum > TermEnumPtr
Definition: LuceneTypes.h:235
virtual void skippingDoc()
boost::shared_ptr< IndexInput > IndexInputPtr
Definition: LuceneTypes.h:493
TermPositions provides an interface for enumerating the <document, frequency, <position>*> tuples for...
Definition: TermPositions.h:18
boost::shared_ptr< TermInfo > TermInfoPtr
Definition: LuceneTypes.h:239
int32_t _doc
Definition: SegmentTermDocs.h:27
virtual bool next()
Moves to the next pair in the enumeration.
virtual int32_t doc()
Returns the current document number.
boost::shared_ptr< DefaultSkipListReader > DefaultSkipListReaderPtr
Definition: LuceneTypes.h:103
IndexInputPtr _freqStream
Definition: SegmentTermDocs.h:23
int64_t skipPointer
Definition: SegmentTermDocs.h:37
virtual int32_t read(Collection< int32_t > docs, Collection< int32_t > freqs)
Optimized implementation.
BitVectorPtr deletedDocs
Definition: SegmentTermDocs.h:26
int64_t freqBasePointer
Definition: SegmentTermDocs.h:34
virtual void seek(const TermPtr &term)
Sets this to the data for a term.
boost::weak_ptr< SegmentReader > SegmentReaderWeakPtr
Definition: LuceneTypes.h:215
clucene.sourceforge.net