3.19.0 (latest) 3.18.0 3.17.0 3.16.0 3.15.0 3.14.0 3.13.0 3.12.0 3.11.0 3.10.0 3.9.0 3.8.0 3.7.0 3.6.0 3.5.0 3.4.0 3.3.0 3.2.0 3.1.0 3.0.0 2.4.0 2.3.0 2.2.0

    public sealed class Index.Types.SearchIndexOptions : IMessage<Index.Types.SearchIndexOptions>, IEquatable<Index.Types.SearchIndexOptions>, IDeepCloneable<Index.Types.SearchIndexOptions>, IBufferMessage, IMessage

Reference documentation and code samples for the Firestore Admin v1 API class Index.Types.SearchIndexOptions.

Options for search indexes at the definition level.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> Index.Types.SearchIndexOptions

## Implements

[IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.md.txt)[Index](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore.Admin.V1/latest/Google.Cloud.Firestore.Admin.V1.Index.md.txt)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore.Admin.V1/latest/Google.Cloud.Firestore.Admin.V1.Index.Types.md.txt)[SearchIndexOptions](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore.Admin.V1/latest/Google.Cloud.Firestore.Admin.V1.Index.Types.SearchIndexOptions.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[Index](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore.Admin.V1/latest/Google.Cloud.Firestore.Admin.V1.Index.md.txt)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore.Admin.V1/latest/Google.Cloud.Firestore.Admin.V1.Index.Types.md.txt)[SearchIndexOptions](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore.Admin.V1/latest/Google.Cloud.Firestore.Admin.V1.Index.Types.SearchIndexOptions.md.txt), [IDeepCloneable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.md.txt)[Index](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore.Admin.V1/latest/Google.Cloud.Firestore.Admin.V1.Index.md.txt)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore.Admin.V1/latest/Google.Cloud.Firestore.Admin.V1.Index.Types.md.txt)[SearchIndexOptions](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore.Admin.V1/latest/Google.Cloud.Firestore.Admin.V1.Index.Types.SearchIndexOptions.md.txt), [IBufferMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.md.txt), [IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.md.txt)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.Firestore.Admin.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore.Admin.V1/latest/Google.Cloud.Firestore.Admin.V1.md.txt)

## Assembly

Google.Cloud.Firestore.Admin.V1.dll

## Constructors

### SearchIndexOptions()

    public SearchIndexOptions()

### SearchIndexOptions(SearchIndexOptions)

    public SearchIndexOptions(Index.Types.SearchIndexOptions other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `IndexTypesSearchIndexOptions` |

## Properties

### TextLanguage

    public string TextLanguage { get; set; }

Optional. The language to use for text search indexes. Used as the
default language if not overridden at the document level by specifying
the `text_language_override_field`. The language is specified as a BCP 47
language code.
For indexes with MONGODB_COMPATIBLE_API ApiScope: If unspecified, the
default language is English.
For indexes with `ANY_API` ApiScope: If unspecified, the default behavior
is autodetect.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### TextLanguageOverrideFieldPath

    public string TextLanguageOverrideFieldPath { get; set; }

Optional. The field in the document that specifies which language to use
for that specific document. For indexes with MONGODB_COMPATIBLE_API
ApiScope: if unspecified, the language is taken from the "language" field
if it exists or from `text_language` if it does not.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |