Recommended way to perform Lucene search without limit
        Posted  
        
            by Thomas
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Thomas
        
        
        
        Published on 2010-03-24T13:20:58Z
        Indexed on 
            2010/03/24
            13:23 UTC
        
        
        Read the original article
        Hit count: 312
        
lucene
|full-text-search
The Lucene documents tell me that "Hits" will be removed from the API in Lucene 3.0.
Deprecated. Hits will be removed in Lucene 3.0. Use search(Query, Filter, int) instead.
The proposed overload limits the number of documents returned to the value of the int.
So my question is: what is the recommended way to perform a search in Lucene with no limit on the number of documents to be returned?
© Stack Overflow or respective owner