Uses of Class
org.apache.lucene.search.AcceptDocs
Packages that use AcceptDocs
Package
Description
Codecs API: API for customization of the encoding and structure of the index.
HNSW vector helper classes.
Lucene 9.9 file format.
Postings format that can delegate to different formats per-field.
Code to maintain and access indices.
Code to search indices.
-
Uses of AcceptDocs in org.apache.lucene.codecs
Methods in org.apache.lucene.codecs with parameters of type AcceptDocsModifier and TypeMethodDescriptionabstract voidKnnVectorsReader.search(String field, byte[] target, KnnCollector knnCollector, AcceptDocs acceptDocs) Return the k nearest neighbor documents as determined by comparison of their vector values for this field, to the given vector, by the field's similarity function.abstract voidKnnVectorsReader.search(String field, float[] target, KnnCollector knnCollector, AcceptDocs acceptDocs) Return the k nearest neighbor documents as determined by comparison of their vector values for this field, to the given vector, by the field's similarity function. -
Uses of AcceptDocs in org.apache.lucene.codecs.hnsw
Methods in org.apache.lucene.codecs.hnsw with parameters of type AcceptDocsModifier and TypeMethodDescriptionvoidFlatVectorsReader.search(String field, byte[] target, KnnCollector knnCollector, AcceptDocs acceptDocs) voidFlatVectorsReader.search(String field, float[] target, KnnCollector knnCollector, AcceptDocs acceptDocs) -
Uses of AcceptDocs in org.apache.lucene.codecs.lucene99
Methods in org.apache.lucene.codecs.lucene99 with parameters of type AcceptDocsModifier and TypeMethodDescriptionvoidLucene99HnswVectorsReader.search(String field, byte[] target, KnnCollector knnCollector, AcceptDocs acceptDocs) voidLucene99HnswVectorsReader.search(String field, float[] target, KnnCollector knnCollector, AcceptDocs acceptDocs) -
Uses of AcceptDocs in org.apache.lucene.codecs.perfield
Methods in org.apache.lucene.codecs.perfield with parameters of type AcceptDocsModifier and TypeMethodDescriptionvoidPerFieldKnnVectorsFormat.FieldsReader.search(String field, byte[] target, KnnCollector knnCollector, AcceptDocs acceptDocs) voidPerFieldKnnVectorsFormat.FieldsReader.search(String field, float[] target, KnnCollector knnCollector, AcceptDocs acceptDocs) -
Uses of AcceptDocs in org.apache.lucene.index
Methods in org.apache.lucene.index with parameters of type AcceptDocsModifier and TypeMethodDescriptionfinal voidCodecReader.searchNearestVectors(String field, byte[] target, KnnCollector knnCollector, AcceptDocs acceptDocs) final voidCodecReader.searchNearestVectors(String field, float[] target, KnnCollector knnCollector, AcceptDocs acceptDocs) voidExitableDirectoryReader.ExitableFilterAtomicReader.searchNearestVectors(String field, byte[] target, KnnCollector knnCollector, AcceptDocs acceptDocs) voidExitableDirectoryReader.ExitableFilterAtomicReader.searchNearestVectors(String field, float[] target, KnnCollector knnCollector, AcceptDocs acceptDocs) voidFilterLeafReader.searchNearestVectors(String field, byte[] target, KnnCollector knnCollector, AcceptDocs acceptDocs) voidFilterLeafReader.searchNearestVectors(String field, float[] target, KnnCollector knnCollector, AcceptDocs acceptDocs) final TopDocsLeafReader.searchNearestVectors(String field, byte[] target, int k, AcceptDocs acceptDocs, int visitedLimit) Return the k nearest neighbor documents as determined by comparison of their vector values for this field, to the given vector, by the field's similarity function.abstract voidLeafReader.searchNearestVectors(String field, byte[] target, KnnCollector knnCollector, AcceptDocs acceptDocs) Return the k nearest neighbor documents as determined by comparison of their vector values for this field, to the given vector, by the field's similarity function.final TopDocsLeafReader.searchNearestVectors(String field, float[] target, int k, AcceptDocs acceptDocs, int visitedLimit) Return the k nearest neighbor documents as determined by comparison of their vector values for this field, to the given vector, by the field's similarity function.abstract voidLeafReader.searchNearestVectors(String field, float[] target, KnnCollector knnCollector, AcceptDocs acceptDocs) Return the k nearest neighbor documents as determined by comparison of their vector values for this field, to the given vector, by the field's similarity function.voidParallelLeafReader.searchNearestVectors(String fieldName, byte[] target, KnnCollector knnCollector, AcceptDocs acceptDocs) voidParallelLeafReader.searchNearestVectors(String fieldName, float[] target, KnnCollector knnCollector, AcceptDocs acceptDocs) -
Uses of AcceptDocs in org.apache.lucene.search
Methods in org.apache.lucene.search that return AcceptDocsModifier and TypeMethodDescriptionstatic AcceptDocsAcceptDocs.fromIteratorSupplier(IOSupplier<DocIdSetIterator> iteratorSupplier, Bits liveDocs, int maxDoc) Create AcceptDocs from anIOSupplierofDocIdSetIterator, optionally filtered by live documents.static AcceptDocsAcceptDocs.fromLiveDocs(Bits bits, int maxDoc) Create AcceptDocs from aBitsinstance representing live documents.Methods in org.apache.lucene.search with parameters of type AcceptDocsModifier and TypeMethodDescriptionprotected TopDocsByteVectorSimilarityQuery.approximateSearch(LeafReaderContext context, AcceptDocs acceptDocs, int visitLimit, KnnCollectorManager knnCollectorManager) protected TopDocsFloatVectorSimilarityQuery.approximateSearch(LeafReaderContext context, AcceptDocs acceptDocs, int visitLimit, KnnCollectorManager knnCollectorManager) protected TopDocsKnnByteVectorQuery.approximateSearch(LeafReaderContext context, AcceptDocs acceptDocs, int visitedLimit, KnnCollectorManager knnCollectorManager) protected TopDocsKnnFloatVectorQuery.approximateSearch(LeafReaderContext context, AcceptDocs acceptDocs, int visitedLimit, KnnCollectorManager knnCollectorManager) protected TopDocsPatienceKnnVectorQuery.approximateSearch(LeafReaderContext context, AcceptDocs acceptDocs, int visitedLimit, KnnCollectorManager knnCollectorManager) protected TopDocsSeededKnnVectorQuery.approximateSearch(LeafReaderContext context, AcceptDocs acceptDocs, int visitedLimit, KnnCollectorManager knnCollectorManager)