[ https://issues.apache.org/jira/browse/LUCENE-2215?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12833024#action_12833024 ]
jm commented on LUCENE-2215: ---------------------------- Kudos Aaron, this is cool for what I need. I just integrated in my project, upgraded to 3.0 just to get this in. But I am having an issue in my first test: java.lang.ArrayIndexOutOfBoundsException: 1 at org.apache.lucene.util.PriorityQueue.initialize(PriorityQueue.java:96) at org.apache.lucene.search.HitQueue.<init>(HitQueue.java:67) at org.apache.lucene.search.PagingCollector.<init>(PagingCollector.java:43) at org.apache.lucene.search.PagingCollector.<init>(PagingCollector.java:39) at org.apache.lucene.search.IterablePaging$PagingIterator.search(IterablePaging.java:158) at org.apache.lucene.search.IterablePaging$PagingIterator.<init>(IterablePaging.java:151) at org.apache.lucene.search.IterablePaging.iterator(IterablePaging.java:140) at ...CombinedLuceneDBStep.proceed(CombinedLuceneDBStep.java:71) I use it like this: MultiSearcher ms = new MultiSearcher(indexes); TotalHitsRef totalHitsRef = new TotalHitsRef(); ProgressRef progressRef = new ProgressRef(); IterablePaging paging = new IterablePaging(ms, lucquery, NB_LUCENE_HITS_PER_BATCH); I have no clue where the issue lies, I am using MultiSearcher , and norms are disabled. Or maybe I screwed up something while upgrading to 3.0... I got the files as of feb 11th. > paging collector > ---------------- > > Key: LUCENE-2215 > URL: https://issues.apache.org/jira/browse/LUCENE-2215 > Project: Lucene - Java > Issue Type: New Feature > Components: Search > Affects Versions: 2.4, 3.0 > Reporter: Adam Heinz > Assignee: Grant Ingersoll > Priority: Minor > Attachments: IterablePaging.java, PagingCollector.java, > TestingPagingCollector.java > > > http://issues.apache.org/jira/browse/LUCENE-2127?focusedCommentId=12796898&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#action_12796898 > Somebody assign this to Aaron McCurry and we'll see if we can get enough > votes on this issue to convince him to upload his patch. :) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: java-dev-unsubscr...@lucene.apache.org For additional commands, e-mail: java-dev-h...@lucene.apache.org