ContainerBuilder.WithFullTextPolicy 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.
Defines the full text policy for this Azure Cosmos container
public Microsoft.Azure.Cosmos.Fluent.FullTextPolicyDefinition WithFullTextPolicy(string defaultLanguage, System.Collections.ObjectModel.Collection<Microsoft.Azure.Cosmos.FullTextPath> fullTextPaths);
member this.WithFullTextPolicy : string * System.Collections.ObjectModel.Collection<Microsoft.Azure.Cosmos.FullTextPath> -> Microsoft.Azure.Cosmos.Fluent.FullTextPolicyDefinition
Public Function WithFullTextPolicy (defaultLanguage As String, fullTextPaths As Collection(Of FullTextPath)) As FullTextPolicyDefinition
Parameters
- defaultLanguage
- String
A string indicating the default language.
- fullTextPaths
- Collection<FullTextPath>
List of full text paths to include in the policy definition.
Returns
An instance of FullTextPolicyDefinition.