diff --git a/gnes/service/indexer.py b/gnes/service/indexer.py index 1c6778cd..44366781 100644 --- a/gnes/service/indexer.py +++ b/gnes/service/indexer.py @@ -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 - msg.response.search.is_sorted = False results = self._model.query_and_score(msg.request.search.query.chunks, top_k=msg.request.search.top_k) self._put_result_into_message(results, msg)