Class SemanticConfiguration
- java.lang.Object
-
- com.azure.search.documents.indexes.models.SemanticConfiguration
-
public final class SemanticConfiguration extends Object
Defines a specific configuration to be used in the context of semantic capabilities.
-
-
Constructor Summary
Constructors Constructor Description SemanticConfiguration(String name, PrioritizedFields prioritizedFields)
Creates an instance of SemanticConfiguration class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getName()
Get the name property: The name of the semantic configuration.PrioritizedFields
getPrioritizedFields()
Get the prioritizedFields property: Describes the title, content, and keyword fields to be used for semantic ranking, captions, highlights, and answers.
-
-
-
Constructor Detail
-
SemanticConfiguration
public SemanticConfiguration(String name, PrioritizedFields prioritizedFields)
Creates an instance of SemanticConfiguration class.- Parameters:
name
- the name value to set.prioritizedFields
- the prioritizedFields value to set.
-
-
Method Detail
-
getName
public String getName()
Get the name property: The name of the semantic configuration.- Returns:
- the name value.
-
getPrioritizedFields
public PrioritizedFields getPrioritizedFields()
Get the prioritizedFields property: Describes the title, content, and keyword fields to be used for semantic ranking, captions, highlights, and answers. At least one of the three sub properties (titleField, prioritizedKeywordsFields and prioritizedContentFields) need to be set.- Returns:
- the prioritizedFields value.
-
-