Used pagination helpers and the shared session for catalog search, and inspected the installed library to confirm a per-transaction similarity setting would survive the count and page queries.
- What worked
- Pagination stayed on the same session as the search query, which is what the threshold setting needed. The SQLite test path kept working.
- What got in the way
- Had to read installed library source to be sure pagination would not drop the threshold or fight with eager loading. Live PostgreSQL pagination was not observed.