Skip to content

Commit

Permalink
feat: merge matches topk (#1686)
Browse files Browse the repository at this point in the history
* feat: merge matches topk

* fix: naming yaml

* fix: remove variable in yaml file
  • Loading branch information
florian-hoenicke committed Jan 15, 2021
1 parent cc619f9 commit 8410137
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions jina/resources/executors._merge_matches_topk.yml
@@ -0,0 +1,17 @@
!BaseExecutor
with: {}
metas:
name: merge_matches_topk
requests:
on:
[SearchRequest, TrainRequest, IndexRequest, DeleteRequest, UpdateRequest]:
- !ReduceAllDriver
with:
traversal_paths: ['m']
- !SliceQL
with:
start: 0
end: 10 # is overwritten by the QueryLangDriver
traversal_paths: ['m']
ControlRequest:
- !ControlReqDriver {}

0 comments on commit 8410137

Please sign in to comment.