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


feat(score_fn): add score_fn as a new module
Browse files Browse the repository at this point in the history
  • Loading branch information
hanhxiao committed Sep 3, 2019
1 parent 98bef2b commit 0b78798
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions gnes/indexer/
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,6 @@ def query_and_score(self, q_chunks: List['gnes_pb2.Chunk'], top_k: int, *args, *
return results

# def score(self, q_chunk: 'gnes_pb2.Chunk', d_chunk: 'gnes_pb2.Chunk',
# relevance, relevance_cls) -> 'gnes_pb2.Response.QueryResponse.ScoredResult.Score':
# return ChunkScorer.eq1(q_chunk, d_chunk, relevance, relevance_cls)

class BaseDocIndexer(BaseIndexer):

Expand Down

0 comments on commit 0b78798

Please sign in to comment.