Index only files whose modified date is within an optional range, set per SMB source. Both bounds are optional: SMB_SOURCE_<N>_MODIFIED_AFTER=2024-01-01 (inclusive) SMB_SOURCE_<N>_MODIFIED_BEFORE=2025-01-01 (exclusive) Set both for a range, only AFTER for everything newer, only BEFORE for everything older, neither for no filter. Also JSON keys modified_after / modified_before, and SMB_DEFAULT_MODIFIED_AFTER/_BEFORE fallbacks. Dates are read as UTC so the filter is reproducible across hosts. A file outside the range is skipped during the walk, so it is excluded from `seen` and the reconcile pass removes it from Onyx — narrowing the range prunes out-of-range documents. Verified with unit + end-to-end tests (in-range only, widening adds, narrowing deletes). |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| config.py | ||
| extract.py | ||
| main.py | ||
| onyx_client.py | ||
| state.py | ||
| sync.py | ||