Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
3.0-incubating
-
None
-
None
Description
The default value for LuceneDictionaryImpl's iv_maxHits is Integer.MAX_VALUE, and this class uses iv_maxHits in this call:
topDoc = iv_searcher.search(query.parse(str.replace('-', ' ')), iv_maxHits);
This search method is only intended for use with a max hits up to about 100 items:
If you really want all the hits, then it'll speed things up (by a lot, in my experience) to write a simple Collector subclass that just collects them all.