Skip to content
This repository has been archived by the owner. It is now read-only.
Browse files
fix(indexer): fix is_sorted in response flush away the request
  • Loading branch information
hanhxiao committed Sep 4, 2019
1 parent 201c27e commit 40849abc92b0fe263754712bcec34358cd10a55f
Showing with 0 additions and 5 deletions.
  1. +0 −3 gnes/service/
  2. +0 −2 gnes/service/
@@ -89,6 +89,3 @@ def _handler_train(self, msg: 'gnes_pb2.Message'):
def _handler_search(self, msg: 'gnes_pb2.Message'):
self.embed_chunks_in_docs(, is_input_list=False)
for c in
@@ -76,8 +76,6 @@ def _handler_chunk_search(self, msg: 'gnes_pb2.Message'):
raise ServiceError(
'unsupported indexer, dont know how to use %s to handle this message' % self._model.__bases__)

# assume the chunk search will change the whatever sort order the message has = False
results = self._model.query_and_score(,
self._put_result_into_message(results, msg)

0 comments on commit 40849ab

Please sign in to comment.