mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-06 04:58:50 +00:00
ed2865863c
Today we still have a leftover from older percolators where lucene query instances where created ahead of time and rewritten later. This `LateParsingQuery` was resolving `now()` when it's really used which we don't need anymore. As a side-effect this failed to execute some highlighting queries when they get rewritten since at that point `now` access it not permitted anymore to prevent bugs when queries get cached. Closes #21295