Gets or sets a value indicating whether to use stop words or not. The default value is true.
publicboolUseStopWords{get;set;}
Property Value
A value indicating whether to use stop words or not.
Exceptions
exception
condition
InvalidOperationException
The value is changed while an index that uses these settings contains documents or is not in the Ready status.
Remarks
The setting defines how the text of documents is divided into terms. Therefore, when an index uses these settings, the value can be changed only while the index contains no documents and its status is Ready.
The value is saved in the index when it is changed or, if that is not possible, before the next operation that changes the index.
A new index uses the settings object passed to its constructor until the index is disposed. If one settings object is used to create several indexes, each of them has to allow the change.