你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

CosmosFullTextPolicy Class

  • java.lang.Object
    • com.azure.cosmos.models.CosmosFullTextPolicy

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 cosmosFullText.

List<CosmosFullTextPath> getPaths()

Gets the paths for cosmosFulltext.

CosmosFullTextPolicy setDefaultLanguage(String defaultLanguage)

Sets the default language for cosmosFullText.

CosmosFullTextPolicy setPaths(List<CosmosFullTextPath> paths)

Sets the paths for cosmosFulltext.

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:

the default language for cosmosFullText.

getPaths

public List<CosmosFullTextPath> getPaths()

Gets the paths for cosmosFulltext.

Returns:

the paths for cosmosFulltext.

setDefaultLanguage

public CosmosFullTextPolicy setDefaultLanguage(String defaultLanguage)

Sets the default language for cosmosFullText.

Parameters:

defaultLanguage - the default language for cosmosFullText.

Returns:

CosmosFullTextPolicy

setPaths

public CosmosFullTextPolicy setPaths(List<CosmosFullTextPath> paths)

Sets the paths for cosmosFulltext.

Parameters:

paths - the paths for cosmosFulltext.

Returns:

CosmosFullTextPolicy

Applies to