-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Performance regression on LatLonPoint#newPolygonQuery #11824
Comments
close in #11825 |
Just seeing this. That's exactly what it would be! Snuck in one of those last commits on the long running PR. Thanks for refactoring and merging @iverase! |
What's annoying is how incredibly trappy this override logic is. That a method call literally moving from I wonder if we can do better? Like maybe figure out better guardrails in these methods? Perhaps by something as simple as a rename (e.g., |
Description
I just notice a big performance regression on polygon queries using LatLonPoint field in lucene geo benchmarks:
I checked and the regression was introduced by this change: #1017.
My suspicion is that before this change, SpatialQuery was calling the method
#getSpatialVisitor()
once for the whole index but in the new version is calling it once per segment. This method might be expensive for LatLonPoint queries, threfore the regression.@nknize FYI
Version and environment details
No response
The text was updated successfully, but these errors were encountered: