Haystack query latency spikes after bulk document indexing
Problem After a bulk indexing run of several hundred thousand documents, the Haystack SearchQuerySet latency spikes dramatically. The 95th‑percentile response time, which normally sits around 0.8 s, climbs to 5 s–12 s for simple term queries. The issue appears only after the indexing job finishes; during indexing the query latency remains low. Typical symptoms observed in production: API … Read more