Class LazyDocument.LazyField
@lucene.internal
Inheritance
Assembly: Lucene.Net.Misc.dll
Syntax
public class LazyField : object, IIndexableField
Properties
Name | Description |
---|---|
Boost | Gets the boost factor on this field. |
FieldType | |
HasBeenLoaded | non-private for test only access @lucene.internal |
IndexableFieldType | Returns the FieldType for this field as type IIndexableFieldType. |
Name | The field's name |
NumericType | Gets the NumericFieldType of the underlying value, or NONE if the value is not set or non-numeric. Expert: The difference between this property and NumericType is this is represents the current state of the field (whether being written or read) and the FieldType property represents instructions on how the field will be written, but does not re-populate when reading back from an index (it is write-only).
In Java, the numeric type was determined by checking the type of NOTE: Since Lucene codecs do not support BYTE or INT16, fields created with these types will always be INT32 when read back from the index. |
Methods
Name | Description |
---|---|
GetBinaryValue() | Non-null if this field has a binary value. |
GetByteValue() | Returns the field value as |
GetDoubleValue() | Returns the field value as |
GetInt16Value() | Returns the field value as |
GetInt32Value() | Returns the field value as |
GetInt64Value() | Returns the field value as |
GetNumericValue() | |
GetReaderValue() | The value of the field as a |
GetSingleValue() | Returns the field value as |
GetStringValue() | The value of the field as a |
GetStringValue(IFormatProvider) | The value of the field as a |
GetStringValue(String) | The value of the field as a |
GetStringValue(String, IFormatProvider) | The value of the field as a |
GetTokenStream(Analyzer) |