Index Konstruktoren
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Überlädt
Index() |
Initialisiert eine neue instance der Index-Klasse. |
Index(String, IList<Field>, IList<ScoringProfile>, String, CorsOptions, IList<Suggester>, IList<Analyzer>, IList<Tokenizer>, IList<TokenFilter>, IList<CharFilter>, String) |
Initialisiert eine neue instance der Index-Klasse. |
Index()
- Quelle:
- Index.cs
Initialisiert eine neue instance der Index-Klasse.
public Index ();
Public Sub New ()
Gilt für:
Index(String, IList<Field>, IList<ScoringProfile>, String, CorsOptions, IList<Suggester>, IList<Analyzer>, IList<Tokenizer>, IList<TokenFilter>, IList<CharFilter>, String)
- Quelle:
- Index.cs
Initialisiert eine neue instance der Index-Klasse.
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)
Parameter
- name
- String
Der Name des Index.
- scoringProfiles
- IList<ScoringProfile>
Die Bewertungsprofile für den Index.
- defaultScoringProfile
- String
Der Name des Bewertungsprofils, das verwendet werden soll, wenn keines in der Abfrage angegeben ist. Wenn diese Eigenschaft nicht festgelegt ist und in der Abfrage kein Bewertungsprofil angegeben wird, wird die Standardbewertung (tf-idf) verwendet.
- corsOptions
- CorsOptions
Optionen zum Steuern der cross-origin Resource Sharing (CORS) für den Index.
- tokenFilters
- IList<TokenFilter>
Das Token filtert für den Index.
- charFilters
- IList<CharFilter>
Das Zeichen filtert für den Index.
- eTag
- String
Das ETag des Indexes.
Gilt für:
Azure SDK for .NET