Repository navigation
Add opt-in Lucene vector field indexing to partitioned regions - #8154
gouthamaenugu wants to merge 5 commits into
Conversation
…d zero-copy PDX vector mapping
…paction for vector indexes
|
Welcome, @gouthamaenugu, and thank you for this contribution! Vector indexing is an exciting direction for I've approved the CI workflows so you can get test signal while this is still a draft. Since this adds public API and touches serialization and wire compatibility, a few steps will help it move smoothly:
One small question: a commit message refers to "critic findings PR1-B1 through PR1-B5". Could you share where that review lives, so the context is available to everyone? Once the dev@ thread has settled and this is marked ready for review, I'll be glad to go through it in detail. Thanks again, and welcome to the community! |
|
Thank you for the warm welcome and for approving the CI workflows, @JinwooHwang! Here's where each of those items stands:
On
When squashing the branch to reference the JIRA ticket before marking ready for review, I'll make sure the final commit message is completely self-contained without internal checklist labels. I'm also looking into the |
….txt for VectorIndexMetadata
|
Thanks for the thorough update, @gouthamaenugu, and for clarifying the PR1-B1 through B5 labels. Let's settle the JIRA structure on the dev@ thread, and take your time with the integrationTest failure. |
For all changes, please confirm:
developcommit?gradlew buildrun cleanly?Summary
Add opt-in vector fields to
geode-luceneindexes on partitioned regions. Geode applications can already use Lucene vectors through a customLuceneSerializer. The Java API andcache.xmlcan now declare a vector field for the built-in serializers. Applications query the field with a LuceneKnnFloatVectorQueryvia the existingLuceneQueryProviderAPI.cache.xml.Review feedback is especially welcome on the Java API and index-profile compatibility. This draft is limited to configuring and indexing vector fields.
Verification
Temurin 17. The Lucene unit and integration suites recorded 313 and 331 passes respectively, with seven existing skips across both suites. The integration suite includes seven public API cases and six serialization checks. Formatting, POM, Javadoc, and assembly-contents checks passed. The existing distributed lexical rolling-upgrade test passed from Geode 2.0.4 with and without reindexing. A separate 1.15.6 run hit a Lucene segment-format error that also occurs on unmodified
develop.A local distributed smoke test with two data stores and a separate accessor verified vector results, removal of an invalid replacement, and rejection of a joining store with a different vector dimension.
OpenAI Codex assisted with the draft follow-up implementation, tests, and PR description.