Method AddIndexed
AddIndexed(Collections.Generic.ICollection<String>, Boolean, Boolean, Boolean)
Add fields that are indexed. Whether they have termvectors has to be specified.
Declaration
public void AddIndexed(Collections.Generic.ICollection<string> names, bool storeTermVectors, bool storePositionWithTermVector, bool storeOffsetWithTermVector)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.ICollection<System.String> | names | The names of the fields |
System.Boolean | storeTermVectors | Whether the fields store term vectors or not |
System.Boolean | storePositionWithTermVector | true if positions should be stored. |
System.Boolean | storeOffsetWithTermVector | true if offsets should be stored |