diff options
Diffstat (limited to 'source')
-rw-r--r-- | source/search.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/search.py b/source/search.py index 2b0fea85..7eb4b065 100644 --- a/source/search.py +++ b/source/search.py @@ -70,7 +70,7 @@ def search(term): ix = open_dir(indexdir) with ix.searcher() as searcher: query = QueryParser("content", ix.schema).parse(term) - results = searcher.search(query) + results = searcher.search(query, limit=None) return [(article["feed_id"], article["article_id"]) for article in results] if __name__ == "__main__": |