Apache Solr open-source search software
fix test bug
Michael McCandless48b16e5fa020
diff --git a/lucene/misc/src/test/org/apache/lucene/uninverting/TestFieldCacheVsDocValues.java b/lucene/misc/src/test/org/apache/lucene/uninverting/TestFieldCacheVsDocValues.javaindex dc196c4e971..e23a6b2d2ae 100644--- a/lucene/misc/src/test/org/apache/lucene/uninverting/TestFieldCacheVsDocValues.java+++ b/lucene/misc/src/test/org/apache/lucene/uninverting/TestFieldCacheVsDocValues.java@@ -514,8 +514,8 @@ public class TestFieldCacheVsDocValues extends LuceneTestCase {BytesRef expectedBytes = new BytesRef();BytesRef actualBytes = new BytesRef();for (long i = 0; i < expected.getValueCount(); i++) {- expected.lookupTerm(expectedBytes);- actual.lookupTerm(actualBytes);+ expected.lookupOrd(i, expectedBytes);+ actual.lookupOrd(i, actualBytes);assertEquals(expectedBytes, actualBytes);}