From cf53d29925c4c1c6d450189dba7a0c2509af1983 Mon Sep 17 00:00:00 2001 From: Jem Date: Tue, 27 Aug 2019 19:41:43 +0800 Subject: [PATCH] refactor(proto): refactor offset nd --- gnes/service/indexer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnes/service/indexer.py b/gnes/service/indexer.py index cb3226b6..d235f45c 100644 --- a/gnes/service/indexer.py +++ b/gnes/service/indexer.py @@ -94,7 +94,7 @@ def _cal_offset_relevance(q_offset, i_offset): r.score_explained = '[chunk_score at doc: %d, offset: %d] = ' \ '(doc_chunk_weight: %.6f) * ' \ '(query_doc_chunk_relevance: %.6f) * ' \ - '(query_doc_offset_relevance: %.6f) * ' \ + '(chunk_offset_relevance: %.6f) * ' \ '(query_chunk_weight: %.6f)' % ( _doc_id, _offset, _weight, _relevance, offset_relevance, qc_weight) msg.response.search.top_k = topk