Search Results for

    Show / Hide Table of Contents

    Class CorePropertyBase

    Core properties of a mapping for a property type to a document field in OpenSearch

    Inheritance
    object
    PropertyBase
    CorePropertyBase
    DocValuesPropertyBase
    ObjectProperty
    SearchAsYouTypeProperty
    TextProperty
    Implements
    IPropertyWithClrOrigin
    ICoreProperty
    IProperty
    IFieldMapping
    Inherited Members
    PropertyBase.LocalMetadata
    PropertyBase.Meta
    PropertyBase.Name
    PropertyBase.DebugDisplay
    PropertyBase.ToString()
    PropertyBase.TypeOverride
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    Namespace: OpenSearch.Client
    Assembly: OpenSearch.Client.dll
    Syntax
    public abstract class CorePropertyBase : PropertyBase, IPropertyWithClrOrigin, ICoreProperty, IProperty, IFieldMapping

    Constructors

    | Edit this page View Source

    CorePropertyBase(FieldType)

    Declaration
    protected CorePropertyBase(FieldType type)
    Parameters
    Type Name Description
    FieldType type

    Properties

    | Edit this page View Source

    CopyTo

    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
    | Edit this page View Source

    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
    | Edit this page View Source

    Similarity

    Which relevancy scoring algorithm or similarity should be used. Defaults to BM25

    Declaration
    public string Similarity { get; set; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    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

    Implements

    IPropertyWithClrOrigin
    ICoreProperty
    IProperty
    IFieldMapping

    Extension Methods

    SuffixExtensions.Suffix(object, string)
    • Edit this page
    • View Source
    In this article
    • Constructors
      • CorePropertyBase(FieldType)
    • Properties
      • CopyTo
      • Fields
      • Similarity
      • Store
    • Implements
    • Extension Methods
    Back to top Generated by DocFX