public static class CheckIndex.Status.SegmentInfoStatus extends Object
CheckIndex.Status.segmentInfos
.
WARNING: this API is new and experimental and is subject to suddenly change in the next release.
Modifier and Type | Field | Description |
---|---|---|
boolean |
compound |
True if segment is compound file format.
|
String |
deletionsFileName |
Name of the current deletions file name.
|
Map<String,String> |
diagnostics |
Map that includes certain
debugging details that IndexWriter records into
each segment it creates
|
int |
docCount |
Document count (does not take deletions into account).
|
boolean |
docStoreCompoundFile |
True if the shared doc store files are compound file
format.
|
int |
docStoreOffset |
Doc store offset, if this segment shares the doc
store files (stored fields and term vectors) with
other segments.
|
String |
docStoreSegment |
String of the shared doc store segment, or null if
this segment does not share the doc store files.
|
CheckIndex.Status.FieldNormStatus |
fieldNormStatus |
Status for testing of field norms (null if field norms could not be tested).
|
boolean |
hasDeletions |
True if this segment has pending deletions.
|
boolean |
hasProx |
True if at least one of the fields in this segment
has position data
|
String |
name |
Name of the segment.
|
int |
numDeleted |
Number of deleted documents.
|
int |
numFiles |
Number of files referenced by this segment.
|
boolean |
openReaderPassed |
True if we were able to open a SegmentReader on this
segment.
|
double |
sizeMB |
Net size (MB) of the files referenced by this
segment.
|
CheckIndex.Status.StoredFieldStatus |
storedFieldStatus |
Status for testing of stored fields (null if stored fields could not be tested).
|
CheckIndex.Status.TermIndexStatus |
termIndexStatus |
Status for testing of indexed terms (null if indexed terms could not be tested).
|
CheckIndex.Status.TermVectorStatus |
termVectorStatus |
Status for testing of term vectors (null if term vectors could not be tested).
|
Constructor | Description |
---|---|
SegmentInfoStatus() |
public String name
public int docCount
public boolean compound
public int numFiles
public double sizeMB
public int docStoreOffset
public String docStoreSegment
public boolean docStoreCompoundFile
public boolean hasDeletions
public String deletionsFileName
public int numDeleted
public boolean openReaderPassed
public boolean hasProx
public Map<String,String> diagnostics
public CheckIndex.Status.FieldNormStatus fieldNormStatus
public CheckIndex.Status.TermIndexStatus termIndexStatus
public CheckIndex.Status.StoredFieldStatus storedFieldStatus
public CheckIndex.Status.TermVectorStatus termVectorStatus
Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.