SearchResult

Represents the search results.

JSON representation
{
  "id": string,
  "document": {
    object (Document)
  },
  "chunk": {
    object (Chunk)
  },
  "modelScores": {
    string: {
      object (DoubleList)
    },
    ...
  }
}
Fields
id

string

Document.id of the searched Document.

document

object (Document)

The document data snippet in the search response. Only fields that are marked as retrievable are populated.

chunk

object (Chunk)

The chunk data in the search response if the SearchRequest.ContentSearchSpec.search_result_mode is set to CHUNKS.

modelScores

map (key: string, value: object (DoubleList))

Google provided available scores.

DoubleList

Double list.

JSON representation
{
  "values": [
    number
  ]
}
Fields
values[]

number

Double values.