Class SemanticConfiguration
java.lang.Object
com.azure.search.documents.indexes.models.SemanticConfiguration
Defines a specific configuration to be used in the context of semantic capabilities.
-
Constructor Summary
ConstructorDescriptionSemanticConfiguration
(String name, PrioritizedFields prioritizedFields) Creates an instance of SemanticConfiguration class. -
Method Summary
Modifier and TypeMethodDescriptiongetName()
Get the name property: The name of the semantic configuration.Get the prioritizedFields property: Describes the title, content, and keyword fields to be used for semantic ranking, captions, highlights, and answers.
-
Constructor Details
-
SemanticConfiguration
Creates an instance of SemanticConfiguration class.- Parameters:
name
- the name value to set.prioritizedFields
- the prioritizedFields value to set.
-
-
Method Details
-
getName
Get the name property: The name of the semantic configuration.- Returns:
- the name value.
-
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.
-