java.lang.Object | |
↳ | org.apache.lucene.index.SegmentInfo |
Information about a segment such as it's name, directory, and files related to the segment. *
NOTE: This API is new and still experimental (subject to change suddenly in the next release)
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
dir | |||||||||||
docCount | |||||||||||
name |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
We consider another SegmentInfo instance equal if it
has the same dir and same name.
| |||||||||||
Get the file name for the norms file for this field.
| |||||||||||
Returns true if this segment is stored as a compound
file; else, false.
| |||||||||||
Returns true if this field for this segment has saved a separate norms file (_
| |||||||||||
Returns true if any fields in this segment have separate norms.
| |||||||||||
Used for debugging
| |||||||||||
Returns total size in bytes of all of files used by
this segment.
| |||||||||||
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
We consider another SegmentInfo instance equal if it has the same dir and same name.
Get the file name for the norms file for this field.
number | field index |
---|
IOException |
---|
Returns true if this segment is stored as a compound file; else, false.
IOException |
---|
Returns true if this field for this segment has saved a separate norms file (_
fieldNumber | the field index to check |
---|
IOException |
---|
Returns true if any fields in this segment have separate norms.
IOException |
---|
Returns total size in bytes of all of files used by this segment.
IOException |
---|