C# (CSharp) Lucene.Net.Documents Namespace

Сlasses

Name Description
AbstractField
BinaryDocValuesField Field that stores a per-document BytesRef value.

The values are stored directly with no sharing, which is a good fit when the fields don't share (many) values, such as a title field. If values may be shared and sorted it's better to use SortedDocValuesField. Here's an example usage:

 document.add(new BinaryDocValuesField(name, new BytesRef("hello"))); 

If you also need to store the value, you should add a separate StoredField instance.

CompressionTools Simple utility class providing static methods to compress and decompress binary data for stored fields. This class uses java.util.zip.Deflater and Inflater classes to compress and decompress, which is the same format previously used by the now deprecated Field.Store.COMPRESS.
Field
Field.StringTokenStream
FieldExtensions
FieldType Describes the properties of a field.
LazyDocument Defers actually loading a field's value until you ask for it. You must not use the returned Field instances after the provided reader has been closed.
LazyDocument.LazyField @lucene.internal
NumericDocValuesField

Field that stores a per-document long value for scoring, sorting or value retrieval. Here's an example usage:

 document.add(new NumericDocValuesField(name, 22L)); 

If you also need to store the value, you should add a separate StoredField instance.

SortedDocValuesField

Field that stores a per-document BytesRef value, indexed for sorting. Here's an example usage:

 document.add(new SortedDocValuesField(name, new BytesRef("hello"))); 

If you also need to store the value, you should add a separate StoredField instance.

TestBinaryDocument
TestDateTools
TestDocument
TestField
TestLazyDocument
TestLazyDocument.LazyTestingStoredFieldVisitor