Skip to content

Commit 33f70cd

Browse files
committed
fixing compilation
1 parent 157574c commit 33f70cd

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

x-pack/plugin/esql/compute/src/test/java/org/elasticsearch/compute/lucene/LuceneSliceQueueTests.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
import org.apache.lucene.index.StoredFields;
2424
import org.apache.lucene.index.TermVectors;
2525
import org.apache.lucene.index.Terms;
26+
import org.apache.lucene.search.AcceptDocs;
2627
import org.apache.lucene.search.KnnCollector;
2728
import org.apache.lucene.util.Bits;
2829
import org.elasticsearch.common.util.concurrent.ConcurrentCollections;
@@ -303,12 +304,13 @@ public ByteVectorValues getByteVectorValues(String field) throws IOException {
303304
}
304305

305306
@Override
306-
public void searchNearestVectors(String field, float[] target, KnnCollector knnCollector, Bits acceptDocs) throws IOException {
307+
public void searchNearestVectors(String field, float[] target, KnnCollector knnCollector, AcceptDocs acceptDocs)
308+
throws IOException {
307309
throw new UnsupportedOperationException();
308310
}
309311

310312
@Override
311-
public void searchNearestVectors(String field, byte[] target, KnnCollector knnCollector, Bits acceptDocs) throws IOException {
313+
public void searchNearestVectors(String field, byte[] target, KnnCollector knnCollector, AcceptDocs acceptDocs) throws IOException {
312314
throw new UnsupportedOperationException();
313315
}
314316

0 commit comments

Comments
 (0)