Class GenericPropertyDescriptor<T>
A generic property to map properties that may be of different types.
Not all methods are valid for all types.
Inheritance
GenericPropertyDescriptor<T>
Assembly: OpenSearch.Client.dll
Syntax
public class GenericPropertyDescriptor<T> : DocValuesPropertyDescriptorBase<GenericPropertyDescriptor<T>, IGenericProperty, T>, IDescriptor, IGenericProperty, IDocValuesProperty, ICoreProperty, IProperty, IFieldMapping where T : class
Type Parameters
Constructors
|
Edit this page
View Source
GenericPropertyDescriptor()
Declaration
public GenericPropertyDescriptor()
Methods
|
Edit this page
View Source
Analyzer(string)
Declaration
public GenericPropertyDescriptor<T> Analyzer(string analyzer)
Parameters
Type |
Name |
Description |
string |
analyzer |
|
Returns
|
Edit this page
View Source
Boost(double?)
Declaration
public GenericPropertyDescriptor<T> Boost(double? boost)
Parameters
Type |
Name |
Description |
double? |
boost |
|
Returns
|
Edit this page
View Source
Fielddata(Func<StringFielddataDescriptor, IStringFielddata>)
Declaration
public GenericPropertyDescriptor<T> Fielddata(Func<StringFielddataDescriptor, IStringFielddata> selector)
Parameters
Returns
|
Edit this page
View Source
IgnoreAbove(int?)
Declaration
public GenericPropertyDescriptor<T> IgnoreAbove(int? ignoreAbove)
Parameters
Type |
Name |
Description |
int? |
ignoreAbove |
|
Returns
|
Edit this page
View Source
Index(bool?)
Declaration
public GenericPropertyDescriptor<T> Index(bool? index = true)
Parameters
Type |
Name |
Description |
bool? |
index |
|
Returns
|
Edit this page
View Source
IndexOptions(IndexOptions?)
Declaration
public GenericPropertyDescriptor<T> IndexOptions(IndexOptions? indexOptions)
Parameters
Returns
|
Edit this page
View Source
Norms(bool?)
Declaration
public GenericPropertyDescriptor<T> Norms(bool? enabled = true)
Parameters
Type |
Name |
Description |
bool? |
enabled |
|
Returns
|
Edit this page
View Source
NullValue(string)
Declaration
public GenericPropertyDescriptor<T> NullValue(string nullValue)
Parameters
Type |
Name |
Description |
string |
nullValue |
|
Returns
|
Edit this page
View Source
PositionIncrementGap(int?)
Declaration
public GenericPropertyDescriptor<T> PositionIncrementGap(int? positionIncrementGap)
Parameters
Type |
Name |
Description |
int? |
positionIncrementGap |
|
Returns
|
Edit this page
View Source
SearchAnalyzer(string)
Declaration
public GenericPropertyDescriptor<T> SearchAnalyzer(string searchAnalyzer)
Parameters
Type |
Name |
Description |
string |
searchAnalyzer |
|
Returns
|
Edit this page
View Source
TermVector(TermVectorOption?)
Declaration
public GenericPropertyDescriptor<T> TermVector(TermVectorOption? termVector)
Parameters
Returns
|
Edit this page
View Source
Type(string)
Declaration
public GenericPropertyDescriptor<T> Type(string type)
Parameters
Type |
Name |
Description |
string |
type |
|
Returns
Implements
Extension Methods