LuceneQuery.list() throws an IllegalArgumentException from Lucene if nDocs is 0

Bug #709160 reported by Vesa Marttila
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Querydsl
Fix Released
High
Unassigned

Bug Description

If maxDocs returns 0 no search should be performed.

Revision history for this message
Vesa Marttila (ponzao) wrote :

Fixed by returning an EmptyCloseableIterator<T> if maxDocs returns 0.

Changed in querydsl:
importance: Undecided → High
status: New → Fix Committed
Revision history for this message
Timo Westkämper (timo-westkamper) wrote :

Released in 2.1.0

Changed in querydsl:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.