QueryResultDocumentSemanticField Class
- java.
lang. Object - com.
azure. search. documents. models. QueryResultDocumentSemanticField
- com.
Implements
public final class QueryResultDocumentSemanticField
implements JsonSerializable<QueryResultDocumentSemanticField>
Description of fields that were sent to the semantic enrichment process, as well as how they were used.
Constructor Summary
| Constructor | Description |
|---|---|
| QueryResultDocumentSemanticField() |
Creates an instance of Query |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Query |
fromJson(JsonReader jsonReader)
Reads an instance of Query |
| String |
getName()
Get the name property: The name of the field that was sent to the semantic enrichment process. |
|
Semantic |
getState()
Get the state property: The way the field was used for the semantic enrichment process (fully used, partially used, or unused). |
|
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Constructor Details
QueryResultDocumentSemanticField
public QueryResultDocumentSemanticField()
Creates an instance of QueryResultDocumentSemanticField class.
Method Details
fromJson
public static QueryResultDocumentSemanticField fromJson(JsonReader jsonReader)
Reads an instance of QueryResultDocumentSemanticField from the JsonReader.
Parameters:
Returns:
Throws:
getName
public String getName()
Get the name property: The name of the field that was sent to the semantic enrichment process.
Returns:
getState
public SemanticFieldState getState()
Get the state property: The way the field was used for the semantic enrichment process (fully used, partially used, or unused).
Returns: