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

Bug #709160 reported by Vesa Marttila on 2011-01-28
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fix Released

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  Edit
Everyone can see this information.

Other bug subscribers