Skip to content
This repository has been archived by the owner. It is now read-only.
Browse files
fix(vector indexer): reorder relevance and chunk weight
  • Loading branch information
jemmyshin committed Jul 19, 2019
1 parent 219a4d3 commit 4977aa3cf5e247c967c7b5d0729916fa69cc0381
Showing with 1 addition and 1 deletion.
  1. +1 −1 gnes/service/
@@ -61,7 +61,7 @@ def _handler_chunk_search(self, msg: 'gnes_pb2.Message'):
results = self._model.query(vecs,
q_weights = [qc.weight for qc in]
for all_topks, qc_weight in zip(results, q_weights):
for _doc_id, _offset, _relevance, _weight in all_topks:
for _doc_id, _offset, _weight, _relevance in all_topks:
r =
r.chunk.doc_id = _doc_id
r.chunk.offset_1d = _offset

0 comments on commit 4977aa3

Please sign in to comment.