Expand description
Primitive operators: TermOperator (Definition 3.1.1),
FilterOperator (Definition 3.1.4), FacetOperator
(Definition 3.1.5), ScoreOperator (Definition 3.1.6).
Structsยง
- Facet
Operator Facet_f: count distinct values of a field over a source posting list (or the entire document store). The result is a posting list whosepayload.fieldscarry_facet_field,_facet_value,_facet_count, matching the serialized UQA encoding.- Filter
Operator Filter_{f, predicate}: filter a source posting list (or the universe of documents) by applying a predicate to a field.- Score
Operator Score_q: apply aScorerto every entry of a source posting list. IDF and per-document length are hoisted out of the inner loop.- Spatial
Within Operator SpatialWithin_{f, center, distance}: return all documents whosefieldvalue lies withindistance(great-circle metres) of(center_x, center_y). Brute-force scans the document store usinguqa_storage::haversine_distance; spatial indexes plug in via the engine layer.- Term
Operator T(t) = PL({d in D | t in term(d, f)}).