Module lance_client

Module lance_client 

Source
Expand description

LanceDB vector database client

NOTE: This file is ~1232 lines (737 implementation + 495 tests). It exceeds the 600-line guideline but is kept as a single coherent unit because:

  • Tests require access to private methods (must be in same file)
  • The implementation represents a single logical component (LanceDB client)
  • Splitting would compromise test coverage and code organization

Future refactoring could extract search logic into traits if needed.

Structsยง

LanceVectorDB
LanceDB vector database implementation (embedded, no server required) Includes BM25 hybrid search support using Tantivy with per-project indexes