iverase opened a new issue, #11824:
URL: https://github.com/apache/lucene/issues/11824

   ### Description
   
   I just notice a big performance regression on polygon queries using 
LatLonPoint field in [lucene geo 
benchmarks](https://home.apache.org/~mikemccand/geobench.html):
   
   <img width="1765" alt="image" 
src="https://user-images.githubusercontent.com/29038686/192466543-419575d8-e1c2-483c-81e4-c122a92a694f.png";>
   
   I checked and the regression was introduced by this change: 
https://github.com/apache/lucene/pull/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_


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to