Class 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)
Inheritance
System.Object
SegmentInfo
Namespace:
Assembly: Lucene.Net.NetCore.dll
Syntax
public sealed class SegmentInfo : ICloneable
Constructors
Name | Description |
---|---|
SegmentInfo(String, Int32, Directory) | |
SegmentInfo(String, Int32, Directory, Boolean, Boolean) | |
SegmentInfo(String, Int32, Directory, Boolean, Boolean, Int32, String, Boolean, Boolean) |
Fields
Name | Description |
---|---|
dir | |
docCount | |
name |
Properties
Name | Description |
---|---|
Diagnostics | |
DocStoreIsCompoundFile | |
DocStoreOffset | |
DocStoreSegment | |
HasProx |
Methods
Name | Description |
---|---|
Clone() | |
Equals(Object) | We consider another SegmentInfo instance equal if it has the same dir and same name. |
Files() | |
GetDelCount() | |
GetDelFileName() | |
GetHashCode() | |
GetNormFileName(Int32) | Get the file name for the norms file for this field. |
GetUseCompoundFile() | Returns true if this segment is stored as a compound file; else, false. |
HasDeletions() | |
HasSeparateNorms() | Returns true if any fields in this segment have separate norms. |
HasSeparateNorms(Int32) | Returns true if this field for this segment has saved a separate norms file (_<segment>_N.sX). |
SegString(Directory) | Used for debugging |
SizeInBytes() | Returns total size in bytes of all of files used by this segment. |
ToString() |