Partager via


Index Constructeurs

Définition

Surcharges

Index()

Initialise une nouvelle instance de la classe Index.

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

Initialise une nouvelle instance de la classe Index.

Index()

Source:
Index.cs

Initialise une nouvelle instance de la classe Index.

public Index ();
Public Sub New ()

S’applique à

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

Source:
Index.cs

Initialise une nouvelle instance de la classe Index.

public Index (string name, System.Collections.Generic.IList<Microsoft.Azure.Search.Models.Field> fields, System.Collections.Generic.IList<Microsoft.Azure.Search.Models.ScoringProfile> scoringProfiles = default, string defaultScoringProfile = default, Microsoft.Azure.Search.Models.CorsOptions corsOptions = default, System.Collections.Generic.IList<Microsoft.Azure.Search.Models.Suggester> suggesters = default, System.Collections.Generic.IList<Microsoft.Azure.Search.Models.Analyzer> analyzers = default, System.Collections.Generic.IList<Microsoft.Azure.Search.Models.Tokenizer> tokenizers = default, System.Collections.Generic.IList<Microsoft.Azure.Search.Models.TokenFilter> tokenFilters = default, System.Collections.Generic.IList<Microsoft.Azure.Search.Models.CharFilter> charFilters = default, string eTag = default);
new Microsoft.Azure.Search.Models.Index : string * System.Collections.Generic.IList<Microsoft.Azure.Search.Models.Field> * System.Collections.Generic.IList<Microsoft.Azure.Search.Models.ScoringProfile> * string * Microsoft.Azure.Search.Models.CorsOptions * System.Collections.Generic.IList<Microsoft.Azure.Search.Models.Suggester> * System.Collections.Generic.IList<Microsoft.Azure.Search.Models.Analyzer> * System.Collections.Generic.IList<Microsoft.Azure.Search.Models.Tokenizer> * System.Collections.Generic.IList<Microsoft.Azure.Search.Models.TokenFilter> * System.Collections.Generic.IList<Microsoft.Azure.Search.Models.CharFilter> * string -> Microsoft.Azure.Search.Models.Index
Public Sub New (name As String, fields As IList(Of Field), Optional scoringProfiles As IList(Of ScoringProfile) = Nothing, Optional defaultScoringProfile As String = Nothing, Optional corsOptions As CorsOptions = Nothing, Optional suggesters As IList(Of Suggester) = Nothing, Optional analyzers As IList(Of Analyzer) = Nothing, Optional tokenizers As IList(Of Tokenizer) = Nothing, Optional tokenFilters As IList(Of TokenFilter) = Nothing, Optional charFilters As IList(Of CharFilter) = Nothing, Optional eTag As String = Nothing)

Paramètres

name
String

Nom de l’index.

fields
IList<Field>

Champs de l’index.

scoringProfiles
IList<ScoringProfile>

Profils de scoring pour l’index.

defaultScoringProfile
String

Nom du profil de scoring à utiliser si aucun n’est spécifié dans la requête. Si cette propriété n’est pas définie et qu’aucun profil de scoring n’est spécifié dans la requête, le scoring par défaut (tf-idf) est utilisé.

corsOptions
CorsOptions

Options permettant de contrôler le partage de ressources entre origines (CORS) pour l’index.

suggesters
IList<Suggester>

Les suggesteurs pour l’index.

analyzers
IList<Analyzer>

Analyseurs pour l’index.

tokenizers
IList<Tokenizer>

Les générateurs de jetons pour l’index.

tokenFilters
IList<TokenFilter>

Le jeton filtre pour l’index.

charFilters
IList<CharFilter>

Filtres de caractères pour l’index.

eTag
String

ETag de l’index.

S’applique à