Skip to content

[BUG] Lucene: keep thin-JAR SPI registrations self-owned #2618

Description

@nvzm123

Problem

The cuvs-lucene service descriptor republishes Lucene-owned vector-format providers already registered by Lucene itself, and current tests do not assert the exact contents or fresh-JVM behavior of the published thin JAR.

Proposed change

  • Register only providers owned and shipped by cuvs-lucene.
  • Add a post-package integration test against the actual thin JAR.
  • Verify exact SPI descriptors and owned production classes.
  • Exclude Lucene classes, base cuvs-java classes, dependency payloads, and test-only diagnostics.
  • Resolve packaged providers in a fresh JVM without target/classes masking omissions.

The logical provider set remains unchanged when the declared Lucene dependency is present. Related to #2512.

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