Nice find Yonik! Mike
On Thu, Oct 28, 2010 at 10:16 AM, Yonik Seeley <yo...@lucidimagination.com> wrote: > On Thu, Oct 28, 2010 at 6:15 AM, <karl.wri...@nokia.com> wrote: >> Synched to trunk, blew away old indexes, reindexed, same behavior. So I >> think we've got a problem, Houston. ;-) > > Hey Karl, can you try the following patch on trunk: > > Index: lucene/src/java/org/apache/lucene/search/cache/DocTermsCreator.java > =================================================================== > --- lucene/src/java/org/apache/lucene/search/cache/DocTermsCreator.java > (revision 1027667) > +++ lucene/src/java/org/apache/lucene/search/cache/DocTermsCreator.java > (working copy) > @@ -164,7 +164,7 @@ > > @Override > public BytesRef getTerm(int docID, BytesRef ret) { > - final int pointer = (int) docToOffset.get(docID); > + final long pointer = docToOffset.get(docID); > return bytes.fillUsingLengthPrefix(ret, pointer); > } > } > > > > > -Yonik > http://www.lucidimagination.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org > For additional commands, e-mail: dev-h...@lucene.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org