CosmosIndexExtensions.SetIsFullTextIndex Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | Description |
|---|---|
| SetIsFullTextIndex(IMutableIndex, Nullable<Boolean>) |
Configures the index for full-text search. See Full-text search in Azure Cosmos DB for NoSQL for more information. |
| SetIsFullTextIndex(IConventionIndex, Nullable<Boolean>, Boolean) |
Configures the index for full-text search. See Full-text search in Azure Cosmos DB for NoSQL for more information. |
SetIsFullTextIndex(IMutableIndex, Nullable<Boolean>)
- Source:
- CosmosIndexExtensions.cs
- Source:
- CosmosIndexExtensions.cs
Configures the index for full-text search. See Full-text search in Azure Cosmos DB for NoSQL for more information.
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))
Parameters
- index
- IMutableIndex
The index.
The value indicating whether the index is configured for full-text search.
Applies to
SetIsFullTextIndex(IConventionIndex, Nullable<Boolean>, Boolean)
- Source:
- CosmosIndexExtensions.cs
- Source:
- CosmosIndexExtensions.cs
Configures the index for full-text search. See Full-text search in Azure Cosmos DB for NoSQL for more information.
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)
Parameters
- index
- IConventionIndex
The index.
The value indicating whether the index is configured for full-text search.
- fromDataAnnotation
- Boolean
Indicates whether the configuration was specified using a data annotation.
Returns
The configured value.