Lucene++ - a full-featured, c++ search engine
API Documentation
Holds the status of each segment in the index. See segmentInfos
.
More...
#include <CheckIndex.h>
Public Member Functions | |
SegmentInfoStatus () | |
virtual | ~SegmentInfoStatus () |
virtual String | getClassName () |
boost::shared_ptr< SegmentInfoStatus > | shared_from_this () |
![]() | |
virtual | ~LuceneObject () |
virtual void | initialize () |
Called directly after instantiation to create objects that depend on this object being fully constructed. | |
virtual LuceneObjectPtr | clone (const LuceneObjectPtr &other=LuceneObjectPtr()) |
Return clone of this object. | |
virtual int32_t | hashCode () |
Return hash code for this object. | |
virtual bool | equals (const LuceneObjectPtr &other) |
Return whether two objects are equal. | |
virtual int32_t | compareTo (const LuceneObjectPtr &other) |
Compare two objects. | |
virtual String | toString () |
Returns a string representation of the object. | |
![]() | |
virtual | ~LuceneSync () |
virtual SynchronizePtr | getSync () |
Return this object synchronize lock. | |
virtual LuceneSignalPtr | getSignal () |
Return this object signal. | |
virtual void | lock (int32_t timeout=0) |
Lock this object using an optional timeout. | |
virtual void | unlock () |
Unlock this object. | |
virtual bool | holdsLock () |
Returns true if this object is currently locked by current thread. | |
virtual void | wait (int32_t timeout=0) |
Wait for signal using an optional timeout. | |
virtual void | notifyAll () |
Notify all threads waiting for signal. | |
Static Public Member Functions | |
static String | _getClassName () |
Data Fields | |
String | name |
Name of the segment. | |
int32_t | docCount |
Document count (does not take deletions into account). | |
bool | compound |
True if segment is compound file format. | |
int32_t | numFiles |
Number of files referenced by this segment. | |
double | sizeMB |
Net size (MB) of the files referenced by this segment. | |
int32_t | docStoreOffset |
Doc store offset, if this segment shares the doc store files (stored fields and term vectors) with other segments. This is -1 if it does not share. | |
String | docStoreSegment |
String of the shared doc store segment, or null if this segment does not share the doc store files. | |
bool | docStoreCompoundFile |
True if the shared doc store files are compound file format. | |
bool | hasDeletions |
True if this segment has pending deletions. | |
String | deletionsFileName |
Name of the current deletions file name. | |
int32_t | numDeleted |
Number of deleted documents. | |
bool | openReaderPassed |
True if we were able to open a SegmentReader on this segment. | |
int32_t | numFields |
Number of fields in this segment. | |
bool | hasProx |
True if at least one of the fields in this segment does not omitTermFreqAndPositions. | |
MapStringString | diagnostics |
Map that includes certain debugging details that IndexWriter records into each segment it creates. | |
FieldNormStatusPtr | fieldNormStatus |
Status for testing of field norms (null if field norms could not be tested). | |
TermIndexStatusPtr | termIndexStatus |
Status for testing of indexed terms (null if indexed terms could not be tested). | |
StoredFieldStatusPtr | storedFieldStatus |
Status for testing of stored fields (null if stored fields could not be tested). | |
TermVectorStatusPtr | termVectorStatus |
Status for testing of term vectors (null if term vectors could not be tested). | |
Additional Inherited Members | |
![]() | |
LuceneObject () | |
![]() | |
SynchronizePtr | objectLock |
LuceneSignalPtr | objectSignal |
Holds the status of each segment in the index. See segmentInfos
.
Lucene::SegmentInfoStatus::SegmentInfoStatus | ( | ) |
|
virtual |
|
inlinestatic |
|
inlinevirtual |
|
inline |
bool Lucene::SegmentInfoStatus::compound |
True if segment is compound file format.
String Lucene::SegmentInfoStatus::deletionsFileName |
Name of the current deletions file name.
MapStringString Lucene::SegmentInfoStatus::diagnostics |
Map that includes certain debugging details that IndexWriter records into each segment it creates.
int32_t Lucene::SegmentInfoStatus::docCount |
Document count (does not take deletions into account).
bool Lucene::SegmentInfoStatus::docStoreCompoundFile |
True if the shared doc store files are compound file format.
int32_t Lucene::SegmentInfoStatus::docStoreOffset |
Doc store offset, if this segment shares the doc store files (stored fields and term vectors) with other segments. This is -1 if it does not share.
String Lucene::SegmentInfoStatus::docStoreSegment |
String of the shared doc store segment, or null if this segment does not share the doc store files.
FieldNormStatusPtr Lucene::SegmentInfoStatus::fieldNormStatus |
Status for testing of field norms (null if field norms could not be tested).
bool Lucene::SegmentInfoStatus::hasDeletions |
True if this segment has pending deletions.
bool Lucene::SegmentInfoStatus::hasProx |
True if at least one of the fields in this segment does not omitTermFreqAndPositions.
String Lucene::SegmentInfoStatus::name |
Name of the segment.
int32_t Lucene::SegmentInfoStatus::numDeleted |
Number of deleted documents.
int32_t Lucene::SegmentInfoStatus::numFields |
Number of fields in this segment.
int32_t Lucene::SegmentInfoStatus::numFiles |
Number of files referenced by this segment.
bool Lucene::SegmentInfoStatus::openReaderPassed |
True if we were able to open a SegmentReader on this segment.
double Lucene::SegmentInfoStatus::sizeMB |
Net size (MB) of the files referenced by this segment.
StoredFieldStatusPtr Lucene::SegmentInfoStatus::storedFieldStatus |
Status for testing of stored fields (null if stored fields could not be tested).
TermIndexStatusPtr Lucene::SegmentInfoStatus::termIndexStatus |
Status for testing of indexed terms (null if indexed terms could not be tested).
TermVectorStatusPtr Lucene::SegmentInfoStatus::termVectorStatus |
Status for testing of term vectors (null if term vectors could not be tested).