Class CharFiltersDescriptor
Inheritance
CharFiltersDescriptor
Assembly: OpenSearch.Client.dll
Syntax
public class CharFiltersDescriptor : IsADictionaryDescriptorBase<CharFiltersDescriptor, ICharFilters, string, ICharFilter>, IDescriptor, IPromise<ICharFilters>
Constructors
|
Edit this page
View Source
CharFiltersDescriptor()
Declaration
public CharFiltersDescriptor()
Methods
|
Edit this page
View Source
HtmlStrip(string, Func<HtmlStripCharFilterDescriptor, IHtmlStripCharFilter>)
A char filter of type html_strip stripping out HTML elements from an analyzed text.
Declaration
public CharFiltersDescriptor HtmlStrip(string name, Func<HtmlStripCharFilterDescriptor, IHtmlStripCharFilter> selector = null)
Parameters
Returns
|
Edit this page
View Source
IcuNormalization(string, Func<IcuNormalizationCharFilterDescriptor, IIcuNormalizationCharFilter>)
Declaration
public CharFiltersDescriptor IcuNormalization(string name, Func<IcuNormalizationCharFilterDescriptor, IIcuNormalizationCharFilter> selector)
Parameters
Returns
|
Edit this page
View Source
KuromojiIterationMark(string, Func<KuromojiIterationMarkCharFilterDescriptor, IKuromojiIterationMarkCharFilter>)
The kuromoji_iteration_mark normalizes Japanese horizontal iteration marks (odoriji) to their expanded form.
Part of the analysis-kuromoji
plugin:
Declaration
public CharFiltersDescriptor KuromojiIterationMark(string name, Func<KuromojiIterationMarkCharFilterDescriptor, IKuromojiIterationMarkCharFilter> selector = null)
Parameters
Returns
|
Edit this page
View Source
Mapping(string, Func<MappingCharFilterDescriptor, IMappingCharFilter>)
A char filter of type mapping replacing characters of an analyzed text with given mapping.
Declaration
public CharFiltersDescriptor Mapping(string name, Func<MappingCharFilterDescriptor, IMappingCharFilter> selector)
Parameters
Returns
|
Edit this page
View Source
PatternReplace(string, Func<PatternReplaceCharFilterDescriptor, IPatternReplaceCharFilter>)
The pattern_replace char filter allows the use of a regex to manipulate the characters in a string before analysis.
Declaration
public CharFiltersDescriptor PatternReplace(string name, Func<PatternReplaceCharFilterDescriptor, IPatternReplaceCharFilter> selector)
Parameters
Returns
|
Edit this page
View Source
UserDefined(string, ICharFilter)
Declaration
public CharFiltersDescriptor UserDefined(string name, ICharFilter analyzer)
Parameters
Returns
Implements
Extension Methods