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

Bug #709160 reported by Vesa Marttila on 2011-01-28
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.

Vesa Marttila (ponzao) wrote :

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

Changed in querydsl:
importance: Undecided → High
status: New → Fix Committed

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