commit | 05a336ea69efb5e8c9f99d0424811154834ec665 | [log] [tgz] |
---|---|---|
author | Benjamin Trent <ben.w.trent@gmail.com> | Wed Nov 15 12:56:15 2023 -0500 |
committer | GitHub <noreply@github.com> | Wed Nov 15 12:56:15 2023 -0500 |
tree | 70df9100b1fadc6d4d9a87087a791bc3a099e414 | |
parent | 5afc17d4b5690ad363198673b2e83deb4c661961 [diff] |
Utilize exact kNN search when gathering k > numVectors in a segment (#12806) When requesting for k >= numVectors, it doesn't make sense to go through the HNSW graph. Even without a user supplied filter, we should not explore the HNSW graph if it contains fewer than k vectors. One scenario where we may still explore the graph if k >= numVectors is when not every document has a vector and there are deleted docs. But, this commit significantly improves things regardless.
Apache Lucene is a high-performance, full-featured text search engine library written in Java.
This README file only contains basic setup instructions. For more comprehensive documentation, visit:
gradlew
).We‘ll assume that you know how to get and set up the JDK - if you don’t, then we suggest starting at https://jdk.java.net/ and learning more about Java, before returning to this README.
See Contributing Guide for details.
Bug fixes, improvements and new features are always welcome! Please review the Contributing to Lucene Guide for information on contributing.
#lucene
and #lucene-dev
on freenode.net