Files
paperless-ngx/src/documents
Trenton H 3cc78fe994 Fix: fall back to in-memory index when INDEX_DIR does not exist
When open_or_rebuild_index is called and the index directory does not exist,
return a fresh in-memory Tantivy index instead of creating the directory as
a side effect. This prevents workspace contamination during test runs where
INDEX_DIR has not been redirected to a temp directory.

In production the data directory is always created during setup, so disk-
based indexes continue to work normally.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-30 16:27:07 -07:00
..
2026-03-04 13:31:20 -08:00
2026-01-13 16:24:42 +00:00
2026-02-16 09:37:33 -08:00
2025-12-12 09:28:47 -08:00