Expand description
JSON query parser — converts ES-compatible JSON to ScoringExpression trees.
Supports both the full object form and shorthand forms:
{"term": {"status": {"value": "active"}}}(full){"term": {"status": "active"}}(shorthand){"match": {"title": {"query": "search engine"}}}(full){"match": {"title": "search engine"}}(shorthand)
See [[query-dsl]] and [[architecture-query-execution#Step 5]].
Functions§
- parse_
distance_ km - Parse distance string like “10km”, “5mi”, “1000m”. Returns km.
- parse_
query - Parse a JSON query into a
ScoringExpression. - parse_
query_ expression - Parse a JSON query into a
QueryExpression.