UnlimitedCollector doesn't return *all* results only top ones

Issue #479 new
Former user created an issue

Whenever I set the limit parameter for search to None (searcher.search(limit=None)), it still only returns a few top results instead of ALL documents with their scores. Similarly, when I use UnlimitedCollector() directly, it returns only a few top results instead of ALL documents with their scores.

Comments (2)

  1. Alexis Raykhel

    Figured out the problem -- was constraining things using "AND" queries instead of "OR" queries in conjunction with accidentally constraining the query. Honestly I'd still expect all documents to come back when limit=None just with scores of 0, but at least I know why it was failing.

  2. Log in to comment