Skip to content
Permalink
Browse files

feat(score_fn): add score_fn as a new module

  • Loading branch information...
hanxiao committed Sep 3, 2019
1 parent 98bef2b commit 0b78798d5e6dc0b1b4df9ffd547b611ad837a467
Showing with 0 additions and 4 deletions.
  1. +0 −4 gnes/indexer/base.py
@@ -62,10 +62,6 @@ def query_and_score(self, q_chunks: List['gnes_pb2.Chunk'], top_k: int, *args, *
results.append(r)
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):

0 comments on commit 0b78798

Please sign in to comment.
You can’t perform that action at this time.