Class TextField
A field that is indexed and tokenized, without term vectors. For example this would be used on a 'body' field, that contains the bulk of a document's text.
Implements
Inherited Members
Namespace: Lucene.Net.Documents
Assembly: Lucene.Net.dll
Syntax
public sealed class TextField : Field, IIndexableField
Constructors
| Improve this Doc View SourceTextField(String, TokenStream)
Creates a new un-stored Text
Declaration
public TextField(string name, TokenStream stream)
Parameters
Type | Name | Description |
---|---|---|
System. |
name | field name |
Token |
stream | Token |
TextField(String, String, Field.Store)
Creates a new Text
Declaration
public TextField(string name, string value, Field.Store store)
Parameters
Type | Name | Description |
---|---|---|
System. |
name | field name |
System. |
value | |
Field. |
store | YES if the content should also be stored |
TextField(String, TextReader)
Creates a new un-stored Text
Declaration
public TextField(string name, TextReader reader)
Parameters
Type | Name | Description |
---|---|---|
System. |
name | field name |
Text |
reader |
Fields
| Improve this Doc View SourceTYPE_NOT_STORED
Indexed, tokenized, not stored.
Declaration
public static readonly FieldType TYPE_NOT_STORED
Field Value
Type | Description |
---|---|
Field |
TYPE_STORED
Indexed, tokenized, stored.
Declaration
public static readonly FieldType TYPE_STORED
Field Value
Type | Description |
---|---|
Field |