diff options
Diffstat (limited to 'service/pixelated/adapter')
-rw-r--r-- | service/pixelated/adapter/search.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/service/pixelated/adapter/search.py b/service/pixelated/adapter/search.py index e68e8111..3697dfe1 100644 --- a/service/pixelated/adapter/search.py +++ b/service/pixelated/adapter/search.py @@ -60,7 +60,7 @@ class SearchEngine(object): query = query.replace('in:all', '*') with self._index.searcher() as searcher: query = QueryParser('body', self._index.schema).parse(query) - results = searcher.search(query) + results = searcher.search(query, limit=100) return [mail['ident'] for mail in results] def remove_from_index(self, mail_id): |