QueryResultDocumentSubscores Class
- java.
lang. Object - com.
azure. search. documents. models. QueryResultDocumentSubscores
- com.
Implements
public final class QueryResultDocumentSubscores
implements JsonSerializable<QueryResultDocumentSubscores>
The breakdown of subscores between the text and vector query components of the search query for this document. Each vector query is shown as a separate object in the same order they were received.
Constructor | Description |
---|---|
Query |
Creates an instance of Query |
Modifier and Type | Method and Description |
---|---|
static
Query |
from Reads an instance of Query |
Double |
get Get the document |
Text |
get Get the text property: The BM25 or Classic score for the text portion of the query. |
List<Map<String,Single |
get Get the vectors property: The vector similarity and @search. |
Json |
to |
Methods inherited from java.lang.Object
QueryResultDocumentSubscores
public QueryResultDocumentSubscores()
Creates an instance of QueryResultDocumentSubscores class.
fromJson
public static QueryResultDocumentSubscores fromJson(JsonReader jsonReader)
Reads an instance of QueryResultDocumentSubscores from the JsonReader.
Parameters:
Returns:
Throws:
getDocumentBoost
public Double getDocumentBoost()
Get the documentBoost property: The BM25 or Classic score for the text portion of the query.
Returns:
getText
public TextResult getText()
Get the text property: The BM25 or Classic score for the text portion of the query.
Returns:
getVectors
public List
Get the vectors property: The vector similarity and @search.score values for each vector query.
Returns:
toJson
Azure SDK for Java geri bildirimi
Azure SDK for Java, açık kaynak bir projedir. Geri bildirim sağlamak için bir bağlantı seçin: