[ https://issues.apache.org/jira/browse/LUCENE-1849?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12747054#action_12747054 ]
Uwe Schindler commented on LUCENE-1849: --------------------------------------- There should also be not only the variation that simply stores docBase in a field. I normally never used that, I always store the reader in a field and then directly operate on the subreader (e.g. for retriving values from the field cache). For me global docIds are unimportant (at least in my collectors). Because of this problem, I had created exactly such a abstract helper class handling this. > Add OutOfOrderCollector and InOrderCollector subclasses of Collector > -------------------------------------------------------------------- > > Key: LUCENE-1849 > URL: https://issues.apache.org/jira/browse/LUCENE-1849 > Project: Lucene - Java > Issue Type: Wish > Components: Search > Affects Versions: 2.9 > Reporter: Tim Smith > Priority: Minor > Fix For: 2.9 > > > I find myself always having to implement these methods, and i always return a > constant (depending on if the collector can handle out of order hits) > would be nice for these two convenience abstract classes to exist that > implemented acceptsDocsOutOfOrder() as final and returned the appropriate > value -- 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