Uses of Class
org.apache.lucene.search.knn.KnnSearchStrategy
Packages that use KnnSearchStrategy
Package
Description
Code to search indices.
Classes related to vector search: knn and vector fields.
Navigable Small-World graph, nominally Hierarchical but currently only has a single layer.
-
Uses of KnnSearchStrategy in org.apache.lucene.search
Fields in org.apache.lucene.search declared as KnnSearchStrategyModifier and TypeFieldDescriptionprotected final KnnSearchStrategy
AbstractKnnVectorQuery.searchStrategy
protected final KnnSearchStrategy
AbstractKnnVectorQuery.searchStrategy
protected final KnnSearchStrategy
AbstractKnnVectorQuery.searchStrategy
protected final KnnSearchStrategy
AbstractKnnVectorQuery.searchStrategy
Methods in org.apache.lucene.search that return KnnSearchStrategyModifier and TypeMethodDescriptionAbstractKnnCollector.getSearchStrategy()
HnswQueueSaturationCollector.getSearchStrategy()
KnnCollector.Decorator.getSearchStrategy()
KnnCollector.getSearchStrategy()
Methods in org.apache.lucene.search with parameters of type KnnSearchStrategyModifier and TypeMethodDescriptionTimeLimitingKnnCollectorManager.newCollector
(int visitedLimit, KnnSearchStrategy searchStrategy, LeafReaderContext context) Constructors in org.apache.lucene.search with parameters of type KnnSearchStrategyModifierConstructorDescriptionprotected
AbstractKnnCollector
(int k, long visitLimit, KnnSearchStrategy searchStrategy) KnnByteVectorQuery
(String field, byte[] target, int k, Query filter, KnnSearchStrategy searchStrategy) Find thek
nearest documents to the target vector according to the vectors in the given field.KnnFloatVectorQuery
(String field, float[] target, int k, Query filter, KnnSearchStrategy searchStrategy) Find thek
nearest documents to the target vector according to the vectors in the given field.TopKnnCollector
(int k, int visitLimit, KnnSearchStrategy searchStrategy) -
Uses of KnnSearchStrategy in org.apache.lucene.search.knn
Subclasses of KnnSearchStrategy in org.apache.lucene.search.knnModifier and TypeClassDescriptionstatic class
A strategy for kNN search that uses HNSWstatic class
A strategy for kNN search on HNSW that early exits when nearest neighbor collection rate saturates.static class
A strategy for kNN search that uses a set of entry points to start the searchMethods in org.apache.lucene.search.knn that return KnnSearchStrategyModifier and TypeMethodDescriptionKnnSearchStrategy.Seeded.originalStrategy()
Original strategy to use after seedingMethods in org.apache.lucene.search.knn with parameters of type KnnSearchStrategyModifier and TypeMethodDescriptionKnnCollectorManager.newCollector
(int visitedLimit, KnnSearchStrategy searchStrategy, LeafReaderContext context) Return a newKnnCollector
instance.TopKnnCollectorManager.newCollector
(int visitedLimit, KnnSearchStrategy searchStrategy, LeafReaderContext context) Return a newTopKnnCollector
instance.Constructors in org.apache.lucene.search.knn with parameters of type KnnSearchStrategyModifierConstructorDescriptionSeeded
(DocIdSetIterator entryPoints, int numberOfEntryPoints, KnnSearchStrategy originalStrategy) -
Uses of KnnSearchStrategy in org.apache.lucene.util.hnsw
Methods in org.apache.lucene.util.hnsw that return KnnSearchStrategy