Class PatternKeywordMarkerFilter
Marks terms as keywords via the KeywordAttribute. Each token
that matches the provided pattern is marked as a keyword by setting
IsKeyword to true
.
Inheritance
System.Object
PatternKeywordMarkerFilter
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: Lucene.Net.Analysis.Common.dll
Syntax
[Serializable]
public sealed class PatternKeywordMarkerFilter : KeywordMarkerFilter, IDisposable
Constructors
Name | Description |
---|---|
PatternKeywordMarkerFilter(TokenStream, Regex) | Create a new PatternKeywordMarkerFilter, that marks the current token as a keyword if the tokens term buffer matches the provided System.Text.RegularExpressions.Regex via the KeywordAttribute. |
Methods
Name | Description |
---|---|
IsKeyword() |