Represents the search results.
JSON representation |
---|
{ "id": string, "document": { object ( |
Fields | |
---|---|
id |
|
document |
The document data snippet in the search response. Only fields that are marked as |
chunk |
The chunk data in the search response if the |
modelScores |
Output only. Google provided available scores. |
rankSignals |
Optional. A set of ranking signals associated with the result. |
DoubleList
Double list.
JSON representation |
---|
{ "values": [ number ] } |
Fields | |
---|---|
values[] |
Double values. |
RankSignals
A set of ranking signals.
JSON representation |
---|
{
"defaultRank": number,
"customSignals": [
{
object ( |
Fields | |
---|---|
defaultRank |
Optional. The default rank of the result. |
customSignals[] |
Optional. A list of custom clearbox signals. |
keywordSimilarityScore |
Optional. Keyword matching adjustment. |
relevanceScore |
Optional. Semantic relevance adjustment. |
semanticSimilarityScore |
Optional. Semantic similarity adjustment. |
pctrRank |
Optional. Predicted conversion rate adjustment as a rank. |
topicalityRank |
Optional. Topicality adjustment as a rank. |
documentAge |
Optional. Age of the document in hours. |
boostingFactor |
Optional. Combined custom boosts for a doc. |
CustomSignal
Custom clearbox signal represented by name and value pair.
JSON representation |
---|
{ "name": string, "value": number } |
Fields | |
---|---|
name |
Optional. name of the signal. |
value |
Optional. Float value representing the ranking signal (e.g. 1.25 for BM25). |