語言

CosmosIndexExtensions.SetIsFullTextIndex 方法

定義

多載

名稱 Description
SetIsFullTextIndex(IMutableIndex, Nullable<Boolean>)

設定索引以進行全文搜尋。 欲了解更多資訊,請參閱 Azure Cosmos DB 中的全文搜尋 NoSQL。

SetIsFullTextIndex(IConventionIndex, Nullable<Boolean>, Boolean)

設定索引以進行全文搜尋。 欲了解更多資訊,請參閱 Azure Cosmos DB 中的全文搜尋 NoSQL。

SetIsFullTextIndex(IMutableIndex, Nullable<Boolean>)

來源:
CosmosIndexExtensions.cs
來源:
CosmosIndexExtensions.cs

設定索引以進行全文搜尋。 欲了解更多資訊,請參閱 Azure Cosmos DB 中的全文搜尋 NoSQL。

public static void SetIsFullTextIndex(this Microsoft.EntityFrameworkCore.Metadata.IMutableIndex index, bool? fullTextIndex);
static member SetIsFullTextIndex : Microsoft.EntityFrameworkCore.Metadata.IMutableIndex * Nullable<bool> -> unit
<Extension()>
Public Sub SetIsFullTextIndex (index As IMutableIndex, fullTextIndex As Nullable(Of Boolean))

參數

index
IMutableIndex

索引。

fullTextIndex
Nullable<Boolean>

該值表示索引是否設定為全文搜尋。

適用於

SetIsFullTextIndex(IConventionIndex, Nullable<Boolean>, Boolean)

來源:
CosmosIndexExtensions.cs
來源:
CosmosIndexExtensions.cs

設定索引以進行全文搜尋。 欲了解更多資訊,請參閱 Azure Cosmos DB 中的全文搜尋 NoSQL。

public static string? SetIsFullTextIndex(this Microsoft.EntityFrameworkCore.Metadata.IConventionIndex index, bool? fullTextIndex, bool fromDataAnnotation = false);
public static bool? SetIsFullTextIndex(this Microsoft.EntityFrameworkCore.Metadata.IConventionIndex index, bool? fullTextIndex, bool fromDataAnnotation = false);
static member SetIsFullTextIndex : Microsoft.EntityFrameworkCore.Metadata.IConventionIndex * Nullable<bool> * bool -> string
static member SetIsFullTextIndex : Microsoft.EntityFrameworkCore.Metadata.IConventionIndex * Nullable<bool> * bool -> Nullable<bool>
<Extension()>
Public Function SetIsFullTextIndex (index As IConventionIndex, fullTextIndex As Nullable(Of Boolean), Optional fromDataAnnotation As Boolean = false) As String
<Extension()>
Public Function SetIsFullTextIndex (index As IConventionIndex, fullTextIndex As Nullable(Of Boolean), Optional fromDataAnnotation As Boolean = false) As Nullable(Of Boolean)

參數

index
IConventionIndex

索引。

fullTextIndex
Nullable<Boolean>

該值表示索引是否設定為全文搜尋。

fromDataAnnotation
Boolean

表示配置是否以資料註解方式指定。

傳回

設定值。

適用於