The same thing is occurring in my custom sort comparator. The ScoreDocs passed to the 'compare' method have docIds that seem to be relative to the segment. Is there any way to translate these into index-wide docIds?
Peter On Mon, Nov 16, 2009 at 2:06 PM, Peter Keegan <peterlkee...@gmail.com>wrote: > I forgot to mention that this is with V2.9.1 > > > On Mon, Nov 16, 2009 at 1:39 PM, Peter Keegan <peterlkee...@gmail.com>wrote: > >> I have a custom query object whose scorer uses the 'AllTermDocs' to get >> all non-deleted documents. AllTermDocs returns the docId relative to the >> segment, but I need the absolute (index-wide) docId to access external data. >> What's the best way to get the unique, non-deleted docId? >> >> Thanks, >> Peter >> > >