Yep, that fixed it. ;-) Everything seems happy now. Karl -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of ext Yonik Seeley Sent: Thursday, October 28, 2010 10:17 AM To: [email protected] Subject: Re: ArrayIndexOutOfBounds exception using FieldCache
On Thu, Oct 28, 2010 at 6:15 AM, <[email protected]> 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: [email protected] For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
