query-builder
Installation
SKILL.md
Vespa Query Builder
Overview
Vespa queries use YQL (Vespa Query Language), a SQL-like language for search and relevance. A query flows through three stages: matching (YQL WHERE clause selects candidates), ranking (a rank profile scores each match), and grouping (optional aggregation into buckets). Queries are HTTP requests to /search/ with YQL in the yql parameter.
For deeper detail, load
docs/yql-operators.md,docs/rank-features.md,docs/grouping.md,docs/ml-models.md, ordocs/query-tensors.mdfrom this skill's directory as needed.
YQL Quick Reference
select <fields> from <source> where <predicate> order by <attribute> limit <N> offset <M>
select * from sources * where true
select title, url from content where text contains "vespa"
select * from sources * where category = "news" order by publish_date desc limit 20 offset 40