Skip to content

Commit

Permalink
Update _impact_searcher.py to remove min_idf from docstrings. (#1618)
Browse files Browse the repository at this point in the history
`min_idf` is a class attribute and not part of the search and batch_search input args.
  • Loading branch information
sahel-sh committed Sep 5, 2023
1 parent 26785eb commit 8063322
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions pyserini/search/lucene/_impact_searcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,6 @@ def search(self, q: str, k: int = 10, fields=dict()) -> List[JImpactSearcherResu
Query string.
k : int
Number of hits to return.
min_idf : int
Minimum idf for query tokens
fields : dict
Optional map of fields to search with associated boosts.
Expand Down Expand Up @@ -176,8 +174,6 @@ def batch_search(self, queries: List[str], qids: List[str],
Number of hits to return.
threads : int
Maximum number of threads to use.
min_idf : int
Minimum idf for query tokens
fields : dict
Optional map of fields to search with associated boosts.
Expand Down

0 comments on commit 8063322

Please sign in to comment.