Interface IKeywordAttribute
This attribute can be used to mark a token as a keyword. Keyword aware
TokenStreams can decide to modify a token based on the return value
of IsKeyword if the token is modified. Stemming filters for
instance can use this attribute to conditionally skip a term if
IsKeyword returns true
.
Inherited Members
Namespace: Lucene.Net.Analysis.TokenAttributes
Assembly: Lucene.Net.dll
Syntax
public interface IKeywordAttribute : IAttribute
Properties
| Improve this Doc View SourceIsKeyword
Gets or Sets whether the current token is a keyword. true
if the current token is a keyword, otherwise
false
.
Declaration
bool IsKeyword { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |