ResultItem
Result Item🔗
Description🔗
A result item captures the document ID, score, and metadata of a single search result item.
Fields🔗
Parameter Name | Type | Description |
---|---|---|
docID | string | the document ID (given at indexing time) or the document link (in case of external searchers) |
score | float | the score of the result item with respect to the query |
fieldValues | Map of string to list of FieldValues | Map of field names with their corresponding values. |
queryPartScores | list of list of integer [0 or 1] | indicates which query parts are matched by the document. The indicator list is provided order-aligned with the queryParts of the SearchResult. |
bimetricScores | Map of scoreConcept to score | Optional map of bi-metric concept scores. |
Example🔗
{
"docID": "9434",
"score": 0.5,
"queryPartScores": [...],
"fieldValues": {...}
}