Class CorePropertyBase
Core properties of a mapping for a property type to a document field in OpenSearch
Inheritance
CorePropertyBase
Inherited Members
Namespace: OpenSearch.Client
Assembly: OpenSearch.Client.dll
Syntax
public abstract class CorePropertyBase : PropertyBase, IPropertyWithClrOrigin, ICoreProperty, IProperty, IFieldMapping
Constructors
| Edit this page View SourceCorePropertyBase(FieldType)
Declaration
protected CorePropertyBase(FieldType type)
Parameters
Type | Name | Description |
---|---|---|
FieldType | type |
Properties
| Edit this page View SourceCopyTo
Copies the value of this field into another field, which can be queried as a single field. Allows for the creation of custom _all fields
Declaration
public Fields CopyTo { get; set; }
Property Value
Type | Description |
---|---|
Fields |
Fields
Configures multi-fields for this field. Allows one field to be indexed in different ways to serve different search and analytics purposes
Declaration
public IProperties Fields { get; set; }
Property Value
Type | Description |
---|---|
IProperties |
Similarity
Which relevancy scoring algorithm or similarity should be used. Defaults to BM25
Declaration
public string Similarity { get; set; }
Property Value
Type | Description |
---|---|
string |
Store
Whether the field value should be stored and retrievable separately from the _source field
Default is false
.
Declaration
public bool? Store { get; set; }
Property Value
Type | Description |
---|---|
bool? |
Remarks
Not valid on ObjectProperty