Slow GeoShapeQuery Performance in Bleve (v2.4.3) #2114
Unanswered
MeonAigeanta
asked this question in
Q&A
Replies: 1 comment
-
Hey @Likith101 would you look into this one when you can please. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm experiencing slow performance with Bleve's GeoShapeQuery in my Go (v1.22) application. The query takes around 355 ms to return 51,092 hits, and I'm hoping to optimize it for faster results and understand why my code is running slow.
I'm using the following code to create the GeoShapeQuery:
I varied the batch size used to build the index then searched with one of the polygons:
I non-randomly varied the number of entries (batch > 100):
I varied the size of the polygon (batch > 100):
Setting the relation to “within” is faster than using “intersects”.
I'd appreciate any guidance on optimizing my GeoShapeQuery performance. Are there any potential issues with my code or configuration that could be causing the slow results?
I've created a complete minimal example on github:
MeonAigeanta/bleve-search-test@a7d782c
Beta Was this translation helpful? Give feedback.
All reactions