Lingua

CosmosIndexExtensions Classe

Definizione

Metodi di estensione dell'indice per i metadati specifici di Azure Cosmos DB.

[System.Runtime.CompilerServices.Nullable(0)]
public static class CosmosIndexExtensions
[System.Runtime.CompilerServices.Nullable(0)]
[System.Diagnostics.CodeAnalysis.Experimental("EF9103")]
public static class CosmosIndexExtensions
[<System.Runtime.CompilerServices.Nullable(0)>]
type CosmosIndexExtensions = class
[<System.Runtime.CompilerServices.Nullable(0)>]
[<System.Diagnostics.CodeAnalysis.Experimental("EF9103")>]
type CosmosIndexExtensions = class
Public Module CosmosIndexExtensions
Ereditarietà
CosmosIndexExtensions
Attributi

Commenti

Per altre informazioni ed esempi, vedere Modellazione di tipi di entità e relazioni e Accesso Azure Cosmos DB con EF Core.

Metodi

Nome Descrizione
GetIsFullTextIndexConfigurationSource(IConventionIndex)

Restituisce l'oggetto ConfigurationSource per se l'oggetto IsFullTextIndex(IReadOnlyIndex).

GetVectorIndexType(IReadOnlyIndex)

Restituisce il tipo di indice vettoriale da utilizzare, ad esempio "flat", "diskANN" o "quantiizedFlat". Per altre informazioni, vedere Ricerca vettoriale in Azure Cosmos DB per NoSQL.

GetVectorIndexTypeConfigurationSource(IConventionIndex)

Restituisce l'oggetto ConfigurationSource per se l'oggetto GetVectorIndexType(IReadOnlyIndex).

IsFullTextIndex(IReadOnlyIndex)

Restituisce il valore che indica se l'indice è configurato per la ricerca full-text. Per altre informazioni, vedere Ricerca full-text in Azure Cosmos DB per NoSQL.

SetIsFullTextIndex(IConventionIndex, Nullable<Boolean>, Boolean)

Configura l'indice per la ricerca full-text. Per altre informazioni, vedere Ricerca full-text in Azure Cosmos DB per NoSQL.

SetIsFullTextIndex(IMutableIndex, Nullable<Boolean>)

Configura l'indice per la ricerca full-text. Per altre informazioni, vedere Ricerca full-text in Azure Cosmos DB per NoSQL.

SetVectorIndexType(IConventionIndex, Nullable<VectorIndexType>, Boolean)

Imposta il tipo di indice vettoriale da usare, ad esempio "flat", "diskANN" o "quantiizedFlat". Per altre informazioni, vedere Ricerca vettoriale in Azure Cosmos DB per NoSQL.

SetVectorIndexType(IConventionIndex, Nullable<VectorIndexType>, Nullable<Boolean>, Boolean)

Imposta il tipo di indice vettoriale da usare, ad esempio "flat", "diskANN" o "quantiizedFlat". Per altre informazioni, vedere Ricerca vettoriale in Azure Cosmos DB per NoSQL.

SetVectorIndexType(IMutableIndex, Nullable<VectorIndexType>, Nullable<Boolean>)

Imposta il tipo di indice vettoriale da usare, ad esempio "flat", "diskANN" o "quantiizedFlat". Per altre informazioni, vedere Ricerca vettoriale in Azure Cosmos DB per NoSQL.

SetVectorIndexType(IMutableIndex, Nullable<VectorIndexType>)

Imposta il tipo di indice vettoriale da usare, ad esempio "flat", "diskANN" o "quantiizedFlat". Per altre informazioni, vedere Ricerca vettoriale in Azure Cosmos DB per NoSQL.

Si applica a