FU-3: re-index on content change (GAP-09) #14

Merged
chaim merged 11 commits from fix/fu3-reindex-on-change into main 2026-05-30 22:13:54 +00:00
Showing only changes of commit 63abf83e76 - Show all commits

View File

@@ -87,7 +87,7 @@ def patched(monkeypatch, tmp_path):
monkeypatch.setattr(db, "set_case_law_extraction_status", _set_status) monkeypatch.setattr(db, "set_case_law_extraction_status", _set_status)
monkeypatch.setattr(db, "set_case_law_halacha_status", _set_status) monkeypatch.setattr(db, "set_case_law_halacha_status", _set_status)
monkeypatch.setattr(db, "recompute_searchable", _recompute_searchable) monkeypatch.setattr(db, "recompute_searchable", _recompute_searchable)
monkeypatch.setattr(db, "mark_indexed", _set_status) monkeypatch.setattr(db, "mark_indexed", _recompute_searchable)
# Force flat chunking + multimodal OFF unless a test flips it. # Force flat chunking + multimodal OFF unless a test flips it.
monkeypatch.setattr(config, "PARENT_DOC_RETRIEVAL_ENABLED", False) monkeypatch.setattr(config, "PARENT_DOC_RETRIEVAL_ENABLED", False)
monkeypatch.setattr(config, "MULTIMODAL_ENABLED", False) monkeypatch.setattr(config, "MULTIMODAL_ENABLED", False)