다음을 통해 공유


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 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 paths)

Sets the paths for cosmosFulltext.

Parameters:

paths - the paths for cosmosFulltext.

Returns:

CosmosFullTextPolicy

Applies to