lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From yo...@apache.org
Subject svn commit: r951737 - /lucene/dev/trunk/lucene/src/java/org/apache/lucene/search/FieldCacheImpl.java
Date Sat, 05 Jun 2010 16:16:19 GMT
Author: yonik
Date: Sat Jun  5 16:16:18 2010
New Revision: 951737

URL: http://svn.apache.org/viewvc?rev=951737&view=rev
Log:
LUCENE-2380: fix bug where each term was written twice

Modified:
    lucene/dev/trunk/lucene/src/java/org/apache/lucene/search/FieldCacheImpl.java

Modified: lucene/dev/trunk/lucene/src/java/org/apache/lucene/search/FieldCacheImpl.java
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/src/java/org/apache/lucene/search/FieldCacheImpl.java?rev=951737&r1=951736&r2=951737&view=diff
==============================================================================
--- lucene/dev/trunk/lucene/src/java/org/apache/lucene/search/FieldCacheImpl.java (original)
+++ lucene/dev/trunk/lucene/src/java/org/apache/lucene/search/FieldCacheImpl.java Sat Jun
 5 16:16:18 2010
@@ -758,7 +758,6 @@ class FieldCacheImpl implements FieldCac
             termOrdToBytesOffset = termOrdToBytesOffset.resize(ArrayUtil.oversize(1+termOrd,
1));
           }
           termOrdToBytesOffset.set(termOrd, bytes.copyUsingLengthPrefix(term));
-          bytes.copyUsingLengthPrefix(term);
           docs = termsEnum.docs(delDocs, docs);
           while (true) {
             final int docID = docs.nextDoc();



Mime
View raw message