SemanticSearch Class
- java.
lang. Object - com.
azure. search. documents. indexes. models. SemanticSearch
- com.
Implements
public final class SemanticSearch
implements JsonSerializable<SemanticSearch>
Defines parameters for a search index that influence semantic capabilities.
Constructor Summary
Constructor | Description |
---|---|
SemanticSearch() |
Creates an instance of Semantic |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Semantic |
fromJson(JsonReader jsonReader)
Reads an instance of Semantic |
List<Semantic |
getConfigurations()
Get the configurations property: The semantic configurations for the index. |
String |
getDefaultConfigurationName()
Get the default |
Semantic |
setConfigurations(List<SemanticConfiguration> configurations)
Set the configurations property: The semantic configurations for the index. |
Semantic |
setDefaultConfigurationName(String defaultConfigurationName)
Set the default |
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Constructor Details
SemanticSearch
public SemanticSearch()
Creates an instance of SemanticSearch class.
Method Details
fromJson
public static SemanticSearch fromJson(JsonReader jsonReader)
Reads an instance of SemanticSearch from the JsonReader.
Parameters:
Returns:
Throws:
getConfigurations
public List
Get the configurations property: The semantic configurations for the index.
Returns:
getDefaultConfigurationName
public String getDefaultConfigurationName()
Get the defaultConfigurationName property: Allows you to set the name of a default semantic configuration in your index, making it optional to pass it on as a query parameter every time.
Returns:
setConfigurations
public SemanticSearch setConfigurations(List
Set the configurations property: The semantic configurations for the index.
Parameters:
Returns:
setDefaultConfigurationName
public SemanticSearch setDefaultConfigurationName(String defaultConfigurationName)
Set the defaultConfigurationName property: Allows you to set the name of a default semantic configuration in your index, making it optional to pass it on as a query parameter every time.
Parameters:
Returns: