#include "CLucene/StdHeader.h" #ifndef _lucene_index_SegmentMergeInfo_ #define _lucene_index_SegmentMergeInfo_ #include "CLucene/util/BitVector.h" #include "SegmentTermEnum.h" #include "SegmentHeader.h" namespace lucene{ namespace index { class SegmentMergeInfo { public: SegmentTermEnum& termEnum; Term* term; int_t base; int_t* docMap; // maps around deleted docs SegmentReader& reader; SegmentTermPositions& postings; SegmentMergeInfo(const int_t b, SegmentTermEnum& te, SegmentReader& r); ~SegmentMergeInfo(); bool next(); void close(); }; }} #endif