QueryResultDocumentInnerHit Class
- java.
lang. Object - com.
azure. search. documents. models. QueryResultDocumentInnerHit
- com.
Implements
public final class QueryResultDocumentInnerHit
implements JsonSerializable<QueryResultDocumentInnerHit>
Detailed scoring information for an individual element of a complex collection.
Constructor Summary
| Constructor | Description |
|---|---|
| QueryResultDocumentInnerHit() |
Creates an instance of Query |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Query |
fromJson(JsonReader jsonReader)
Reads an instance of Query |
| Long |
getOrdinal()
Get the ordinal property: Position of this specific matching element within it's original collection. |
|
List<Map<String,Single |
getVectors()
Get the vectors property: Detailed scoring information for an individual element of a complex collection that matched a vector query. |
|
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Constructor Details
QueryResultDocumentInnerHit
public QueryResultDocumentInnerHit()
Creates an instance of QueryResultDocumentInnerHit class.
Method Details
fromJson
public static QueryResultDocumentInnerHit fromJson(JsonReader jsonReader)
Reads an instance of QueryResultDocumentInnerHit from the JsonReader.
Parameters:
Returns:
Throws:
getOrdinal
public Long getOrdinal()
Get the ordinal property: Position of this specific matching element within it's original collection. Position starts at 0.
Returns:
getVectors
public List<Map<String,SingleVectorFieldResult>> getVectors()
Get the vectors property: Detailed scoring information for an individual element of a complex collection that matched a vector query.
Returns: