Please format your code, logs or configuration files using </> icon as explained in this guide and not the citation button. It will make your post more readable.
Or use markdown style like:
```
CODE
```
This is the icon to use if you are not using markdown format:
There's a live preview panel for exactly this reasons.
Lots of people read these forums, and many of them will simply skip over a post that is difficult to read, because it's just too large an investment of their time to try and follow a wall of badly formatted text.
If your goal is to get an answer to your questions, it's in your interest to make it as easy to read and understand as possible.
Please update your post.
here my requirement is i want to filter school distance based on nearby location ,where latitude,longitude value should comes dynamically .........i.e is i choose three school in dropedown it will show nearby school based on latitude,longitude but value should comes dynamically
But, I think you have somewhere the lat/lon coordinates for each school. So it might be easier to just use a bool query with multiple match queries within should clauses and then sort by distance may be.
A full reproduction script could help to understand better may be.
sorry to ask again , i having 10 schools list each list contain latitude,longitude separately requirement if i choose one school means nearest two school want appear ,there is any possible,(i don't want latitude ,longitude to be filled by statically )
here i shown is database containing school latitude longitude value my requirement is if choose three school first one is current(latitude,longitude want to show ) school,remaining based on dropedown (value) it is possible
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.