I want to import a collection of linestrings from GeoJSON into elastic search. The number of features that I want to import will be in the range of millions.
I am planning to show these features using Mapbox GL by querying features inside the current map bound at a time instead of loading all features into the map initially.
When map bound changes, I will trigger another search query using the new map bound. How can I do this? I have tried something as in this link
But it is not working as expected. Features returned are not inside the bound that i have requested. I am totally new to elastic search. Can someone help me on this