Class TokenCountPropertyDescriptor<T>
A field of type token_count is really an integer field which accepts string values,
analyzes them, then indexes the number of tokens in the string.
Inheritance
TokenCountPropertyDescriptor<T>
Assembly: OpenSearch.Client.dll
Syntax
public class TokenCountPropertyDescriptor<T> : DocValuesPropertyDescriptorBase<TokenCountPropertyDescriptor<T>, ITokenCountProperty, T>, IDescriptor, ITokenCountProperty, IDocValuesProperty, ICoreProperty, IProperty, IFieldMapping where T : class
Type Parameters
Constructors
|
Edit this page
View Source
TokenCountPropertyDescriptor()
Declaration
public TokenCountPropertyDescriptor()
Methods
|
Edit this page
View Source
Analyzer(string)
Declaration
public TokenCountPropertyDescriptor<T> Analyzer(string analyzer)
Parameters
Type |
Name |
Description |
string |
analyzer |
|
Returns
|
Edit this page
View Source
EnablePositionIncrements(bool?)
Declaration
public TokenCountPropertyDescriptor<T> EnablePositionIncrements(bool? enablePositionIncrements = true)
Parameters
Type |
Name |
Description |
bool? |
enablePositionIncrements |
|
Returns
|
Edit this page
View Source
Index(bool?)
Declaration
public TokenCountPropertyDescriptor<T> Index(bool? index = true)
Parameters
Type |
Name |
Description |
bool? |
index |
|
Returns
|
Edit this page
View Source
NullValue(double?)
Declaration
public TokenCountPropertyDescriptor<T> NullValue(double? nullValue)
Parameters
Type |
Name |
Description |
double? |
nullValue |
|
Returns
Implements
Extension Methods