Class UpperCaseFilter
Normalizes token text to UPPER CASE.
You must specify the required LuceneVersion compatibility when creating UpperCaseFilter
NOTE: In Unicode, this transformation may lose information when the upper case character represents more than one lower case character. Use this filter when you Require uppercase tokens. Use the LowerCaseFilter for general search matching
Implements
IDisposable
Inherited Members
Namespace: Lucene.Net.Analysis.Core
Assembly: Lucene.Net.Analysis.Common.dll
Syntax
public sealed class UpperCaseFilter : TokenFilter, IDisposable
Constructors
| Improve this Doc View SourceUpperCaseFilter(LuceneVersion, TokenStream)
Create a new UpperCaseFilter, that normalizes token text to upper case.
Declaration
public UpperCaseFilter(LuceneVersion matchVersion, TokenStream in)
Parameters
Type | Name | Description |
---|---|---|
LuceneVersion | matchVersion | See LuceneVersion |
TokenStream | in | TokenStream to filter |
Methods
| Improve this Doc View SourceIncrementToken()
Declaration
public override sealed bool IncrementToken()
Returns
Type | Description |
---|---|
System.Boolean |
Overrides
Implements
IDisposable