Lucene++ - a full-featured, c++ search engine
API Documentation
Go to the documentation of this file.
20 SegmentInfo(
const String& name, int32_t docCount,
const DirectoryPtr& dir,
bool isCompoundFile,
bool hasSingleNormFile);
23 bool hasSingleNormFile, int32_t docStoreOffset,
const String& docStoreSegment,
24 bool docStoreIsCompoundFile,
bool hasProx);
37 static const int32_t NO;
38 static const int32_t
YES;
99 void setDiagnostics(MapStringString diagnostics);
100 MapStringString getDiagnostics();
102 void setNumFields(int32_t numFields);
105 int64_t sizeInBytes();
108 void advanceDelGen();
113 String getDelFileName();
117 bool hasSeparateNorms(int32_t fieldNumber);
120 bool hasSeparateNorms();
124 void advanceNormGen(int32_t fieldIndex);
128 String getNormFileName(int32_t number);
132 void setUseCompoundFile(
bool isCompoundFile);
135 bool getUseCompoundFile();
137 int32_t getDelCount();
138 void setDelCount(int32_t delCount);
139 int32_t getDocStoreOffset();
140 bool getDocStoreIsCompoundFile();
141 void setDocStoreIsCompoundFile(
bool v);
142 String getDocStoreSegment();
143 void setDocStoreOffset(int32_t offset);
144 void setDocStore(int32_t offset,
const String& segment,
bool isCompoundFile);
149 void setHasProx(
bool hasProx);
162 virtual int32_t hashCode();
#define LUCENE_CLASS(Name)
Definition: LuceneObject.h:24
uint8_t isCompoundFile
Definition: SegmentInfo.h:59
static const int32_t YES
Definition: SegmentInfo.h:38
DirectoryPtr dir
Definition: SegmentInfo.h:93
boost::shared_ptr< SegmentInfo > SegmentInfoPtr
Definition: LuceneTypes.h:208
boost::shared_ptr< LuceneObject > LuceneObjectPtr
Definition: LuceneTypes.h:539
String docStoreSegment
Definition: SegmentInfo.h:77
bool docStoreIsCompoundFile
Definition: SegmentInfo.h:80
String name
Definition: SegmentInfo.h:91
Collection< int64_t > normGen
Definition: SegmentInfo.h:55
int64_t _sizeInBytes
Definition: SegmentInfo.h:70
Definition: AbstractAllTermDocs.h:12
MapStringString diagnostics
Definition: SegmentInfo.h:88
Base class for all Lucene classes.
Definition: LuceneObject.h:31
bool hasProx
Definition: SegmentInfo.h:86
static const int32_t WITHOUT_GEN
Definition: SegmentInfo.h:40
int64_t delGen
Definition: SegmentInfo.h:48
boost::shared_ptr< IndexInput > IndexInputPtr
Definition: LuceneTypes.h:493
int32_t docCount
Definition: SegmentInfo.h:92
bool hasSingleNormFile
Definition: SegmentInfo.h:64
HashSet< String > _files
Definition: SegmentInfo.h:67
static const int32_t CHECK_DIR
Definition: SegmentInfo.h:39
boost::shared_ptr< Directory > DirectoryPtr
Definition: LuceneTypes.h:489
bool preLockless
Definition: SegmentInfo.h:44
int32_t docStoreOffset
Definition: SegmentInfo.h:74
int32_t delCount
Definition: SegmentInfo.h:83
Information about a segment such as it's name, directory, and files related to the segment.
Definition: SegmentInfo.h:16
boost::shared_ptr< IndexOutput > IndexOutputPtr
Definition: LuceneTypes.h:494
clucene.sourceforge.net