lance-format/lance

`load_indices` should include index config

Open

#2.039 aberto em 7 de mar. de 2024

Ver no GitHub
 (4 comments) (2 reactions) (0 assignees)Rust (695 forks)github user discovery
enhancementgood first issuehelp wanted

Métricas do repositório

Stars
 (6.582 stars)
Métricas de merge de PR
 (Mesclagem média 6d 1h) (219 fundiu PRs em 30d)

Description

Ideally the output from load_indices would allow to both know

  • Whether the index is an IvfPq index or a Btree index
  • What parameters were used to train the index

Today I can kind of guess the first one based on the type of column but once we add more vector index types this will no longer be possible.

I have no way today of getting the parameters. This can be very useful because users may forget these things and want to examine them (e.g. because they've learned more about vector indices and now they want to know if they need to rebuild their index or not).

Guia do colaborador