mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2026-05-13 10:05:23 +00:00
eaa23751de
The origin/dev branch added include_selection_data support to the search list() view (PR #12300). Our Tantivy list() had replaced the Whoosh implementation entirely, causing a conflict. Resolution: keep the Tantivy implementation and incorporate the include_selection_data feature. When requested, selection_data is computed over all matching document IDs from ordered_hits (the full Tantivy result set, not just the current page). Also update test_search_with_include_selection_data from #12300 to use the Tantivy indexing API (get_backend().add_or_update) instead of the removed Whoosh AsyncWriter. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1006 KiB
1006 KiB