Skip to content

[BUG] Lucene: route explicit MULTI_KERNEL queries through per-segment search #2620

Description

@nvzm123

Problem

GPUKnnFloatVectorQuery.rewrite() can send explicit MULTI_KERNEL searches to cuVS multi-partition search, although that native path rejects MULTI_KERNEL.

Proposed change

Route explicit MULTI_KERNEL through Lucene's per-segment rewrite path so each CAGRA reader executes the supported algorithm. Preserve AUTO, SINGLE_CTA, supported multi-partition behavior, and the selective-filter fallback being developed in #2612.

Add a multi-segment CAGRA-only regression test covering rank-one self matches, exact hit count, unique IDs, and absence of brute-force indexes.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions