Vespa · Schema
VespaQuery
Body of a Vespa POST /search/ query request.
AISearchVector DatabaseBig DataMachine LearningSemantic SearchRetrieval Augmented GenerationOpen SourceTensorRecommendations
Properties
| Name | Type | Description |
|---|---|---|
| yql | string | YQL query expression. |
| query | string | Simple user-string query passed to the query parser. |
| hits | integer | |
| offset | integer | |
| ranking | object | Ranking configuration (profile, feature inputs, sorting). |
| presentation | object | |
| model | object | |
| select | string | Grouping / aggregation specification. |
| timeout | string | |
| trace | object |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/vespa-ai/main/json-schema/vespa-ai-query-schema.json",
"title": "VespaQuery",
"description": "Body of a Vespa POST /search/ query request.",
"type": "object",
"properties": {
"yql": {
"type": "string",
"description": "YQL query expression."
},
"query": {
"type": "string",
"description": "Simple user-string query passed to the query parser."
},
"hits": {
"type": "integer",
"minimum": 0,
"default": 10
},
"offset": {
"type": "integer",
"minimum": 0,
"default": 0
},
"ranking": {
"type": "object",
"description": "Ranking configuration (profile, feature inputs, sorting).",
"additionalProperties": true
},
"presentation": {
"type": "object",
"additionalProperties": true
},
"model": {
"type": "object",
"additionalProperties": true
},
"select": {
"type": "string",
"description": "Grouping / aggregation specification."
},
"timeout": {
"type": "string"
},
"trace": {
"type": "object",
"additionalProperties": true
}
}
}