indexDB/TEST.md
2026-05-15 21:50:12 +08:00

507 B

TEST

All core functionalities are thoroughly tested.

Coverage

  • Core Search Engine Initialization: Checks version files auto-creation and engine loading.
  • Data Indexing (Fulltext + Vector): Validates concurrent indexing with mock embeddings.
  • Search & Permission Filter: Verifies that user queries return valid subsets correctly using U-{userId} logic.
  • Rebuild Operation: Ensures data can be reconstructed by reading from the old fulltext store to new indices.

Benchmark

N/A