Package com.azure.cosmos.models
Class CosmosFullTextPolicy
java.lang.Object
com.azure.cosmos.models.CosmosFullTextPolicy
@Beta(value=V4_65_0,
warningText="Preview API - subject to change in non-backwards compatible way")
public final class CosmosFullTextPolicy
extends Object
Full Text Search Policy
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the default language for cosmosFullText.getPaths()
Gets the paths for cosmosFulltext.setDefaultLanguage
(String defaultLanguage) Sets the default language for cosmosFullText.setPaths
(List<CosmosFullTextPath> paths) Sets the paths for cosmosFulltext.
-
Constructor Details
-
CosmosFullTextPolicy
@Beta(value=V4_65_0, warningText="Preview API - subject to change in non-backwards compatible way") public CosmosFullTextPolicy()Constructor
-
-
Method Details
-
getDefaultLanguage
@Beta(value=V4_65_0, warningText="Preview API - subject to change in non-backwards compatible way") public String getDefaultLanguage()Gets the default language for cosmosFullText.- Returns:
- the default language for cosmosFullText.
-
setDefaultLanguage
@Beta(value=V4_65_0, warningText="Preview API - subject to change in non-backwards compatible way") public CosmosFullTextPolicy setDefaultLanguage(String defaultLanguage) Sets the default language for cosmosFullText.- Parameters:
defaultLanguage
- the default language for cosmosFullText.- Returns:
- CosmosFullTextPolicy
-
getPaths
@Beta(value=V4_65_0, warningText="Preview API - subject to change in non-backwards compatible way") public List<CosmosFullTextPath> getPaths()Gets the paths for cosmosFulltext.- Returns:
- the paths for cosmosFulltext.
-
setPaths
@Beta(value=V4_65_0, warningText="Preview API - subject to change in non-backwards compatible way") public CosmosFullTextPolicy setPaths(List<CosmosFullTextPath> paths) Sets the paths for cosmosFulltext.- Parameters:
paths
- the paths for cosmosFulltext.- Returns:
- CosmosFullTextPolicy
-