Class DocumentExtensions
LUCENENET specific extensions to the Document class.
Inheritance
Assembly: DistributedLucene.Net.dll
Syntax
public static class DocumentExtensions : object
Methods
Name | Description |
---|---|
AddBinaryDocValuesField(Document, String, BytesRef) | Adds a new BinaryDocValuesField. |
AddDoubleDocValuesField(Document, String, Double) | Adds a new DoubleDocValuesField field with the specified 64-bit double value |
AddDoubleField(Document, String, Double, Field.Store) | Adds a stored or un-stored DoubleField with the provided value
and default |
AddDoubleField(Document, String, Double, FieldType) | Adds a stored or un-stored DoubleField with the provided value. Expert: allows you to customize the FieldType. |
AddInt32Field(Document, String, Int32, Field.Store) | Adds a stored or un-stored Int32Field with the provided value
and default |
AddInt32Field(Document, String, Int32, FieldType) | Adds a stored or un-stored Int32Field with the provided value. Expert: allows you to customize the FieldType. |
AddInt64Field(Document, String, Int64, Field.Store) | Adds a stored or un-stored Int64Field with the provided value
and default |
AddInt64Field(Document, String, Int64, FieldType) | Adds a stored or un-stored Int64Field with the provided value. Expert: allows you to customize the FieldType. |
AddNumericDocValuesField(Document, String, Int64) | Adds a new NumericDocValuesField field with the specified 64-bit |
AddSingleDocValuesField(Document, String, Single) | Adds a new SingleDocValuesField field with the specified 32-bit |
AddSingleField(Document, String, Single, Field.Store) | Adds a stored or un-stored SingleField with the provided value
and default |
AddSingleField(Document, String, Single, FieldType) | Adds a stored or un-stored SingleField with the provided value. Expert: allows you to customize the FieldType. |
AddSortedDocValuesField(Document, String, BytesRef) | Adds a new SortedDocValuesField field. |
AddSortedSetDocValuesField(Document, String, BytesRef) | Adds a new SortedSetDocValuesField field. |
AddStoredField(Document, String, BytesRef) | Adds a stored-only field with the given binary value. NOTE: the provided BytesRef is not copied so be sure not to change it until you're done with this field. |
AddStoredField(Document, String, Byte[]) | Adds a stored-only field with the given binary value. NOTE: the provided byte[] is not copied so be sure not to change it until you're done with this field. |
AddStoredField(Document, String, Byte[], Int32, Int32) | Adds a stored-only field with the given binary value. NOTE: the provided byte[] is not copied so be sure not to change it until you're done with this field. |
AddStoredField(Document, String, Double) | Adds a stored-only field with the given |
AddStoredField(Document, String, Int32) | Adds a stored-only field with the given |
AddStoredField(Document, String, Int64) | Adds a stored-only field with the given |
AddStoredField(Document, String, Single) | Adds a stored-only field with the given |
AddStoredField(Document, String, String) | Adds a stored-only field with the given |
AddStringField(Document, String, String, Field.Store) | Adds a new StringField (a field that is indexed but not tokenized) |
AddTextField(Document, String, TokenStream) | Adds a new un-stored TextField with TokenStream value. |
AddTextField(Document, String, String, Field.Store) | Adds a new TextField with |
AddTextField(Document, String, TextReader) | Adds a new un-stored TextField with |
GetField<T>(Document, String) | Returns a field with the given name if any exist in this document cast to type |
GetFields<T>(Document, String) | Returns an array of IIndexableFields with the given name, cast to type |