GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Bindings: PRODUCT quantization after ArcadeData/arcadedb#10545 (SQL path, find_nearest, new index settings, docs) · Issue #443 · humemai/arcadedb-embedded-python

This repository was archived by the owner on Nov 21, 2026. It is now read-only.
This repository was archived by the owner on Nov 21, 2026. It is now read-only.

Bindings: PRODUCT quantization after ArcadeData/arcadedb#10545 (SQL path, find_nearest, new index settings, docs) #443

Copy link
Copy link
Closed
#446
Closed
Bindings: PRODUCT quantization after ArcadeData/arcadedb#10545 (SQL path, find_nearest, new index settings, docs)#443
#446
Copy link

Description

@tae898
tae898
opened on Oct 21, 2026
Issue body actions

ArcadeData#10545 (issue ArcadeData#10514) made a PRODUCT vector index search on its PQ codes and re-rank on the stored vectors, shrank its graph file, and honoured pqTrainingLimit. It is synced into main (77a5777). The bindings still describe and behave like the old engine.

Measured on ArcadeData#10545's head, SIFT-1M, 32 subspaces (notes: repros/pq-verify-10545-20261022): PRODUCT index files 170.0 MiB against 144.9 MiB for NONE (1.17x; 7.9x before the fix). recall@10 at efSearch 10/50/100/200/400: NONE .764/.965/.990/.997/.999; PRODUCT with the default rerankOversample 10 .986/.986/.986/.996/.999; rerankOversample 0 (PQ scores only) .617/.713/.720/.722/.722. No ab.py timing of PQ search exists yet, so no speed claim.

What is wrong here:

  • guide/vectors.md and api/database.md say SQL search scores with full-precision vectors, PQ gives no speedup and the files are larger (our Docs: say why quantization="PRODUCT" is not recommended #395). All three are now false.
  • VectorIndex.find_nearest calls findNeighborsFromVector, the exact walk, so on a PRODUCT index it disagrees with SQL vectorNeighbors, which walks the PQ codes and re-ranks.
  • create_vector_index and get_metadata know nothing of the new index settings rerankOversample and fusedPQ.
  • The CREATE INDEX ... METADATA statement for PQ, and the per-query rerank option of vectorNeighbors, are not documented or tested.

Plan, DSL-first: document and test the statements; make find_nearest take the same engine entry point as SQL on a PRODUCT index (findNeighbors, the call SQL makes); pass the two new settings through the metadata JSON that create_vector_index already sends; read them in get_metadata; fix the docs. find_nearest_approximate stays (PQ scores only, no beam, no re-rank) and its docs say so.

Activity

  1. tae898
    added 2 commits that reference this issue on Oct 22, 2026

    Tests: PQ tests assert the old answer on an engine without ArcadeData…

    a054095

    Bindings: PRODUCT quantization after ArcadeData#10545 (SQL path, find…

    23fb23c
  2. tae898
    closed this as completedin #446on Oct 22, 2026
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

      You are visitor 01402775 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.