Method AddStringField
AddStringField(Document, String, String, Field.Store)
Adds a new StringField (a field that is indexed but not tokenized)
Declaration
public static StringField AddStringField(this Document document, string name, string value, Field.Store stored)
Parameters
Type | Name | Description |
---|---|---|
Document | document | This Document. |
System.String | name | field name |
System.String | value | |
Field.Store | stored | YES if the content should also be stored |
Returns
Type | Description |
---|---|
StringField | The field that was added to this Document. |