CosmosIndexBuilderExtensions.IsFullTextIndex 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 |
|---|---|
| IsFullTextIndex(IndexBuilder, Boolean) |
Configures the index as a full-text index. See Full-text search in Azure Cosmos DB for NoSQL for more information. |
| IsFullTextIndex(IConventionIndexBuilder, Nullable<Boolean>, Boolean) |
Configures the index as a full-text index. See Full-text search in Azure Cosmos DB for NoSQL for more information. |
| IsFullTextIndex<TEntity>(IndexBuilder<TEntity>, Boolean) |
Configures the index as a full-text index. See Full-text search in Azure Cosmos DB for NoSQL for more information. |
IsFullTextIndex(IndexBuilder, Boolean)
Configures the index as a full-text index. See Full-text search in Azure Cosmos DB for NoSQL for more information.
public static Microsoft.EntityFrameworkCore.Metadata.Builders.IndexBuilder IsFullTextIndex(this Microsoft.EntityFrameworkCore.Metadata.Builders.IndexBuilder indexBuilder, bool fullTextIndex = true);
static member IsFullTextIndex : Microsoft.EntityFrameworkCore.Metadata.Builders.IndexBuilder * bool -> Microsoft.EntityFrameworkCore.Metadata.Builders.IndexBuilder
<Extension()>
Public Function IsFullTextIndex (indexBuilder As IndexBuilder, Optional fullTextIndex As Boolean = true) As IndexBuilder
Parameters
- indexBuilder
- IndexBuilder
The builder for the index being configured.
- fullTextIndex
- Boolean
The value indicating whether the index is configured for Full-text search.
Returns
A builder to further configure the index.
Remarks
See Modeling entity types and relationships, and Accessing Azure Cosmos DB with EF Core for more information and examples.
Applies to
IsFullTextIndex(IConventionIndexBuilder, Nullable<Boolean>, Boolean)
Configures the index as a full-text index. See Full-text search in Azure Cosmos DB for NoSQL for more information.
public static Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionIndexBuilder? IsFullTextIndex(this Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionIndexBuilder indexBuilder, bool? fullTextIndex, bool fromDataAnnotation = false);
static member IsFullTextIndex : Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionIndexBuilder * Nullable<bool> * bool -> Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionIndexBuilder
<Extension()>
Public Function IsFullTextIndex (indexBuilder As IConventionIndexBuilder, fullTextIndex As Nullable(Of Boolean), Optional fromDataAnnotation As Boolean = false) As IConventionIndexBuilder
Parameters
- indexBuilder
- IConventionIndexBuilder
The builder for the index being configured.
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 same builder instance if the configuration was applied,
null otherwise.
Remarks
See Modeling entity types and relationships, and Accessing Azure Cosmos DB with EF Core for more information and examples.
Applies to
IsFullTextIndex<TEntity>(IndexBuilder<TEntity>, Boolean)
Configures the index as a full-text index. See Full-text search in Azure Cosmos DB for NoSQL for more information.
public static Microsoft.EntityFrameworkCore.Metadata.Builders.IndexBuilder<TEntity> IsFullTextIndex<TEntity>(this Microsoft.EntityFrameworkCore.Metadata.Builders.IndexBuilder<TEntity> indexBuilder, bool fullTextIndex = true);
static member IsFullTextIndex : Microsoft.EntityFrameworkCore.Metadata.Builders.IndexBuilder<'Entity> * bool -> Microsoft.EntityFrameworkCore.Metadata.Builders.IndexBuilder<'Entity>
<Extension()>
Public Function IsFullTextIndex(Of TEntity) (indexBuilder As IndexBuilder(Of TEntity), Optional fullTextIndex As Boolean = true) As IndexBuilder(Of TEntity)
Type Parameters
- TEntity
Parameters
- indexBuilder
- IndexBuilder<TEntity>
The builder for the index being configured.
- fullTextIndex
- Boolean
The value indicating whether the index is configured for Full-text search.
Returns
A builder to further configure the index.
Remarks
See Modeling entity types and relationships, and Accessing Azure Cosmos DB with EF Core for more information and examples.