Interface ICoreProperty
Core properties of a mapping for a property type to a document field in OpenSearch
Namespace: OpenSearch.Client
Assembly: OpenSearch.Client.dll
Syntax
public interface ICoreProperty : IProperty, IFieldMapping
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
[DataMember(Name = "copy_to")]
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
[DataMember(Name = "fields")]
IProperties Fields { get; set; }
Property Value
Type | Description |
---|---|
IProperties |
Similarity
Which relevancy scoring algorithm or similarity should be used. Defaults to BM25
Declaration
[DataMember(Name = "similarity")]
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
[DataMember(Name = "store")]
bool? Store { get; set; }
Property Value
Type | Description |
---|---|
bool? |
Remarks
Not valid on ObjectProperty