CosmosFullTextPolicy Class
- java.
lang. Object - com.
azure. cosmos. models. CosmosFullTextPolicy
- com.
public final class CosmosFullTextPolicy
Full Text Search Policy
Constructor Summary
Constructor | Description |
---|---|
CosmosFullTextPolicy() |
Constructor |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
getDefaultLanguage()
Gets the default language for cosmos |
List<Cosmos |
getPaths()
Gets the paths for cosmos |
Cosmos |
setDefaultLanguage(String defaultLanguage)
Sets the default language for cosmos |
Cosmos |
setPaths(List<CosmosFullTextPath> paths)
Sets the paths for cosmos |
Methods inherited from java.lang.Object
Constructor Details
CosmosFullTextPolicy
public CosmosFullTextPolicy()
Constructor
Method Details
getDefaultLanguage
public String getDefaultLanguage()
Gets the default language for cosmosFullText.
Returns:
getPaths
public List
Gets the paths for cosmosFulltext.
Returns:
setDefaultLanguage
public CosmosFullTextPolicy setDefaultLanguage(String defaultLanguage)
Sets the default language for cosmosFullText.
Parameters:
Returns:
setPaths
public CosmosFullTextPolicy setPaths(List
Sets the paths for cosmosFulltext.
Parameters:
Returns:
Applies to
Azure SDK for Java