Example usage for Java org.apache.lucene.index SegmentInfo fields, constructors, methods, implement or subclass
The text is from its open source code.
int | NO Used by some member fields to mean not present (e.g., norms, deletions). |
int | YES Used by some member fields to mean present (e.g., norms, deletions). |
Map | attributes |
Set | setFiles |
void | addFile(String file) Add this file to the set of files written for this segment. |
Set | files() Return all files referenced by this SegmentInfo. |
String | getAttribute(String key) Get a codec attribute value, or null if it does not exist |
Codec | getCodec() Return Codec that wrote this segment. |
Map | getDiagnostics() Returns diagnostics saved into the segment when it was written. |
byte[] | getId() Return the id that uniquely identifies this segment. |
boolean | getUseCompoundFile() Returns true if this segment is stored as a compound file; else, false. |
Version | getVersion() Returns the version of the code which wrote the segment. |
void | setCodec(Codec codec) Can only be called once. |