Class CapitalizationFilter
A filter to apply normal capitalization rules to Tokens. It will make the first letter capital and the rest lower case.
This filter is particularly useful to build nice looking facet parameters. This filter is not appropriate if you intend to use a prefix query.
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 CapitalizationFilter : TokenFilter, IDisposable
Constructors
Name | Description |
---|---|
CapitalizationFilter(TokenStream) | Creates a CapitalizationFilter with the default parameters using the culture from the current thread. |
CapitalizationFilter(TokenStream, Boolean, CharArraySet, Boolean, ICollection<Char[]>, Int32, Int32, Int32) | Creates a CapitalizationFilter with the specified parameters using the culture from the current thread. |
CapitalizationFilter(TokenStream, Boolean, CharArraySet, Boolean, ICollection<Char[]>, Int32, Int32, Int32, CultureInfo) | Creates a CapitalizationFilter with the specified parameters and the specified |
CapitalizationFilter(TokenStream, CultureInfo) | Creates a CapitalizationFilter with the default parameters and the specified |
Fields
Name | Description |
---|---|
DEFAULT_MAX_TOKEN_LENGTH | |
DEFAULT_MAX_WORD_COUNT |
Methods
Name | Description |
---|---|
IncrementToken() |