@@ -168,7 +168,7 @@ required_capability: metadata_score
168168FROM books METADATA _id, _index, _score
169169| FORK ( WHERE title:"Tolkien" | SORT _score, _id DESC | LIMIT 3 )
170170 ( WHERE author:"Tolkien" | SORT _score, _id DESC | LIMIT 3 )
171- | FUSE rrf OPTIONS {"rank_constant": 50 }
171+ | FUSE rrf WITH {"rank_constant": 50 }
172172| SORT _score DESC, _id, _index
173173| EVAL _fork = mv_sort(_fork)
174174| EVAL _score = round(_score, 5)
@@ -192,7 +192,7 @@ required_capability: metadata_score
192192FROM books METADATA _id, _index, _score
193193| FORK ( WHERE title:"Tolkien" | SORT _score, _id DESC | LIMIT 3 )
194194 ( WHERE author:"Tolkien" | SORT _score, _id DESC | LIMIT 3 )
195- | FUSE rrf OPTIONS {"weights": { "fork1": 0.3, "fork2": 0.7 } }
195+ | FUSE rrf WITH {"weights": { "fork1": 0.3, "fork2": 0.7 } }
196196| SORT _score DESC, _id, _index
197197| EVAL _fork = mv_sort(_fork)
198198| EVAL _score = round(_score, 5)
@@ -219,7 +219,7 @@ FROM books METADATA _id, _score
219219 ( WHERE author:"Tolkien" | SORT _score, _id DESC | LIMIT 3
220220 | EVAL new_id = CONCAT(_id, _id), new_score = _score + 1, new_fork = "B")
221221| DROP _id, _score
222- | FUSE rrf KEY new_fork GROUP new_id SCORE new_score OPTIONS {"rank_constant": 60, "weights": { "fork1": 0.3, "fork2": 0.7 } }
222+ | FUSE rrf KEY new_fork GROUP new_id SCORE new_score WITH {"rank_constant": 60, "weights": { "fork1": 0.3, "fork2": 0.7 } }
223223| SORT new_score DESC, new_id
224224| EVAL new_fork = mv_sort(new_fork)
225225| EVAL new_score = round(new_score, 5)
@@ -322,7 +322,7 @@ FROM books METADATA _id, _score
322322| EVAL new_fork = CASE (_fork == "fork1", "A", "B")
323323| EVAL new_score = _score * 2
324324| DROP _fork, _score
325- | FUSE rrf KEY new_fork GROUP new_id SCORE new_score OPTIONS {"rank_constant": 60, "weights": { "fork1": 0.3, "fork2": 0.7 } }
325+ | FUSE rrf KEY new_fork GROUP new_id SCORE new_score WITH {"rank_constant": 60, "weights": { "fork1": 0.3, "fork2": 0.7 } }
326326| SORT new_score DESC, new_id
327327| EVAL new_fork = mv_sort(new_fork)
328328| EVAL new_score = round(new_score, 5)
@@ -371,7 +371,7 @@ required_capability: metadata_score
371371FROM books METADATA _id, _index, _score
372372| FORK ( WHERE title:"Tolkien" | SORT _score, _id DESC | LIMIT 3 )
373373 ( WHERE author:"Tolkien" | SORT _score, _id DESC | LIMIT 3 )
374- | FUSE linear OPTIONS {"normalizer": "l2_norm"}
374+ | FUSE linear WITH {"normalizer": "l2_norm"}
375375| SORT _score DESC, _id, _index
376376| EVAL _fork = mv_sort(_fork)
377377| EVAL _score = round(_score, 5)
@@ -396,7 +396,7 @@ required_capability: metadata_score
396396FROM books METADATA _id, _index, _score
397397| FORK ( WHERE title:"Tolkien" | SORT _score, _id DESC | LIMIT 3 )
398398 ( WHERE author:"Tolkien" | SORT _score, _id DESC | LIMIT 3 )
399- | FUSE linear OPTIONS {"normalizer": "minmax"}
399+ | FUSE linear WITH {"normalizer": "minmax"}
400400| SORT _score DESC, _id, _index
401401| EVAL _fork = mv_sort(_fork)
402402| EVAL _score = round(_score, 5)
@@ -420,7 +420,7 @@ required_capability: metadata_score
420420FROM books METADATA _id, _index, _score
421421| FORK ( WHERE title:"Tolkien" | SORT _score, _id DESC | LIMIT 3 )
422422 ( WHERE author:"Tolkien" | SORT _score, _id DESC | LIMIT 3 )
423- | FUSE linear OPTIONS {"weights": { "fork1": 0.3, "fork2": 0.7 }}
423+ | FUSE linear WITH {"weights": { "fork1": 0.3, "fork2": 0.7 }}
424424| SORT _score DESC, _id, _index
425425| EVAL _fork = mv_sort(_fork)
426426| EVAL _score = round(_score, 5)
@@ -445,7 +445,7 @@ required_capability: metadata_score
445445FROM books METADATA _id, _index, _score
446446| FORK ( WHERE title:"Tolkien" | SORT _score, _id DESC | LIMIT 3 )
447447 ( WHERE author:"Tolkien" | SORT _score, _id DESC | LIMIT 3 )
448- | FUSE linear OPTIONS {"weights": { "fork1": 0.3, "inexistent": 0.7 }}
448+ | FUSE linear WITH {"weights": { "fork1": 0.3, "inexistent": 0.7 }}
449449| SORT _score DESC, _id, _index
450450| EVAL _fork = mv_sort(_fork)
451451| EVAL _score = round(_score, 5)
@@ -470,7 +470,7 @@ required_capability: metadata_score
470470FROM books METADATA _id, _index, _score
471471| FORK ( WHERE title:"Tolkien" | SORT _score, _id DESC | LIMIT 3 )
472472 ( WHERE author:"Tolkien" | SORT _score, _id DESC | LIMIT 3 )
473- | FUSE linear OPTIONS {"normalizer": "minmax", "weights": { "fork1": 0.3, "fork2": 0.7 }}
473+ | FUSE linear WITH {"normalizer": "minmax", "weights": { "fork1": 0.3, "fork2": 0.7 }}
474474| SORT _score DESC, _id, _index
475475| EVAL _fork = mv_sort(_fork)
476476| EVAL _score = round(_score, 5)
@@ -575,7 +575,7 @@ FROM books METADATA _id, _score
575575| EVAL new_fork = CASE (_fork == "fork1", "A", "B")
576576| EVAL new_score = _score * 2
577577| DROP _fork, _score
578- | FUSE LINEAR KEY new_fork GROUP new_id SCORE new_score OPTIONS {"normalizer": "minmax", "weights": { "fork1": 0.3, "fork2": 0.7 }}
578+ | FUSE LINEAR KEY new_fork GROUP new_id SCORE new_score WITH {"normalizer": "minmax", "weights": { "fork1": 0.3, "fork2": 0.7 }}
579579| SORT new_score DESC, new_id
580580| EVAL new_fork = mv_sort(new_fork)
581581| EVAL new_score = round(new_score, 5)
0 commit comments