Index Class

Definition

Represents a search index definition, which describes the fields and search behavior of an index.

public class Index : Microsoft.Azure.Search.Models.IResourceWithETag
type Index = class
    interface IResourceWithETag
Public Class Index
Implements IResourceWithETag
Inheritance
Index
Implements

Constructors

Index()

Initializes a new instance of the Index class.

Index(String, IList<Field>, IList<ScoringProfile>, String, CorsOptions, IList<Suggester>, IList<Analyzer>, IList<Tokenizer>, IList<TokenFilter>, IList<CharFilter>, String)

Initializes a new instance of the Index class.

Properties

Analyzers

Gets or sets the analyzers for the index.

CharFilters

Gets or sets the character filters for the index.

CorsOptions

Gets or sets options to control Cross-Origin Resource Sharing (CORS) for the index.

DefaultScoringProfile

Gets or sets the name of the scoring profile to use if none is specified in the query. If this property is not set and no scoring profile is specified in the query, then default scoring (tf-idf) will be used.

ETag

Gets or sets the ETag of the index.

Fields

Gets or sets the fields of the index.

Name

Gets or sets the name of the index.

ScoringProfiles

Gets or sets the scoring profiles for the index.

Suggesters

Gets or sets the suggesters for the index.

TokenFilters

Gets or sets the token filters for the index.

Tokenizers

Gets or sets the tokenizers for the index.

Methods

Validate()

Validate the object.

Applies to