public static class

CheckIndex.Status.SegmentInfoStatus

extends Object
java.lang.Object
   ↳ org.apache.lucene.index.CheckIndex.Status.SegmentInfoStatus

Class Overview

Holds the status of each segment in the index. See segmentInfos.

WARNING: this API is new and experimental and is subject to suddenly change in the next release.

Summary

Fields
public boolean compound True if segment is compound file format.
public String deletionsFileName Name of the current deletions file name.
public Map<StringString> diagnostics Map that includes certain debugging details that IndexWriter records into each segment it creates
public int docCount Document count (does not take deletions into account).
public boolean docStoreCompoundFile True if the shared doc store files are compound file format.
public int docStoreOffset Doc store offset, if this segment shares the doc store files (stored fields and term vectors) with other segments.
public String docStoreSegment String of the shared doc store segment, or null if this segment does not share the doc store files.
public CheckIndex.Status.FieldNormStatus fieldNormStatus Status for testing of field norms (null if field norms could not be tested).
public boolean hasDeletions True if this segment has pending deletions.
public boolean hasProx True if at least one of the fields in this segment does not omitTermFreqAndPositions.
public String name Name of the segment.
public int numDeleted Number of deleted documents.
public int numFiles Number of files referenced by this segment.
public boolean openReaderPassed True if we were able to open a SegmentReader on this segment.
public double sizeMB Net size (MB) of the files referenced by this segment.
public CheckIndex.Status.StoredFieldStatus storedFieldStatus Status for testing of stored fields (null if stored fields could not be tested).
public CheckIndex.Status.TermIndexStatus termIndexStatus Status for testing of indexed terms (null if indexed terms could not be tested).
public CheckIndex.Status.TermVectorStatus termVectorStatus Status for testing of term vectors (null if term vectors could not be tested).
Public Constructors
CheckIndex.Status.SegmentInfoStatus()
[Expand]
Inherited Methods
From class java.lang.Object

Fields

public boolean compound

True if segment is compound file format.

public String deletionsFileName

Name of the current deletions file name.

public Map<StringString> diagnostics

Map that includes certain debugging details that IndexWriter records into each segment it creates

public int docCount

Document count (does not take deletions into account).

public boolean docStoreCompoundFile

True if the shared doc store files are compound file format.

public int 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.

public String docStoreSegment

String of the shared doc store segment, or null if this segment does not share the doc store files.

public CheckIndex.Status.FieldNormStatus fieldNormStatus

Status for testing of field norms (null if field norms could not be tested).

public boolean hasDeletions

True if this segment has pending deletions.

public boolean hasProx

True if at least one of the fields in this segment does not omitTermFreqAndPositions.

public String name

Name of the segment.

public int numDeleted

Number of deleted documents.

public int numFiles

Number of files referenced by this segment.

public boolean openReaderPassed

True if we were able to open a SegmentReader on this segment.

public double sizeMB

Net size (MB) of the files referenced by this segment.

public CheckIndex.Status.StoredFieldStatus storedFieldStatus

Status for testing of stored fields (null if stored fields could not be tested).

public CheckIndex.Status.TermIndexStatus termIndexStatus

Status for testing of indexed terms (null if indexed terms could not be tested).

public CheckIndex.Status.TermVectorStatus termVectorStatus

Status for testing of term vectors (null if term vectors could not be tested).

Public Constructors

public CheckIndex.Status.SegmentInfoStatus ()