Skip to content
This repository has been archived by the owner on Feb 22, 2020. It is now read-only.

Commit

Permalink
refactor(proto): refactor offset nd
Browse files Browse the repository at this point in the history
  • Loading branch information
jemmyshin committed Aug 27, 2019
1 parent 96ececb commit cf53d29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gnes/service/indexer.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit cf53d29

Please sign in to comment.