|
42 | 42 | import org.apache.lucene.search.vectorhighlight.FastVectorHighlighter;
|
43 | 43 | import org.apache.lucene.util.Bits;
|
44 | 44 | import org.apache.lucene.util.BytesRef;
|
45 |
| -import org.apache.lucene.util.FutureArrays; |
46 | 45 | import org.apache.lucene.util.StringHelper;
|
47 | 46 | import org.apache.lucene.util.bkd.BKDReader.IntersectState;
|
48 | 47 | import org.apache.lucene.util.bkd.BKDReader;
|
@@ -149,10 +148,10 @@ public void visit(int docID, byte[] packedValue) throws IOException {
|
149 | 148 |
|
150 | 149 | @Override
|
151 | 150 | public Relation compare(byte[] minPackedValue, byte[] maxPackedValue) {
|
152 |
| - if (FutureArrays.compareUnsigned(targetValue, 0, Integer.BYTES, minPackedValue, 0, Integer.BYTES) < 0) { |
| 151 | + if (Arrays.compareUnsigned(targetValue, 0, Integer.BYTES, minPackedValue, 0, Integer.BYTES) < 0) { |
153 | 152 | return Relation.CELL_OUTSIDE_QUERY;
|
154 | 153 | }
|
155 |
| - if (FutureArrays.compareUnsigned(targetValue, 0, Integer.BYTES, maxPackedValue, 0, Integer.BYTES) > 0) { |
| 154 | + if (Arrays.compareUnsigned(targetValue, 0, Integer.BYTES, maxPackedValue, 0, Integer.BYTES) > 0) { |
156 | 155 | return Relation.CELL_OUTSIDE_QUERY;
|
157 | 156 | }
|
158 | 157 | return Relation.CELL_CROSSES_QUERY;
|
|
0 commit comments