Class StringField
A field that is indexed but not tokenized: the entire
Implements
Inherited Members
Namespace: Lucene.Net.Documents
Assembly: Lucene.Net.dll
Syntax
public sealed class StringField : Field, IIndexableField
Constructors
| Improve this Doc View SourceStringField(String, String, Field.Store)
Creates a new StringField (a field that is indexed but not tokenized)
Declaration
public StringField(string name, string value, Field.Store stored)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | field name |
System.String | value | |
Field.Store | stored | YES if the content should also be stored |
Fields
| Improve this Doc View SourceTYPE_NOT_STORED
Indexed, not tokenized, omits norms, indexes DOCS_ONLY, not stored.
Declaration
public static readonly FieldType TYPE_NOT_STORED
Field Value
Type | Description |
---|---|
FieldType |
TYPE_STORED
Indexed, not tokenized, omits norms, indexes DOCS_ONLY, stored
Declaration
public static readonly FieldType TYPE_STORED
Field Value
Type | Description |
---|---|
FieldType |