Thursday, January 29, 2015

Lucene Jira Bugs


https://issues.apache.org/jira/browse/LUCENE-2606
Compares two strings with a collator, also looking to see if the the strings
   * are impacted by jdk bugs. may not avoid all jdk bugs in tests.
   * see https://bugs.openjdk.java.net/browse/JDK-8071862
java.text.Collator

To learn more
https://issues.apache.org/jira/browse/LUCENE-6192
Long overflow in LuceneXXSkipWriter can corrupt skip data
// be careful when cast from long to int etc.
skipBuffer.writeVInt((int) (curDocPointer - lastSkipDocPointer[level]));
To
skipBuffer.writeVLong(curDocPointer - lastSkipDocPointer[level]);


No comments:

Post a Comment