Re: Query related to GeoSpatial Search

2018-02-18 Thread Aakanksha Gupta
Thanks for a lot Siddhant Aggarwal for the quick response! On Sun, Feb 18, 2018 at 3:22 PM, Sidhant Aggarwal wrote: > Hi Aakanksha, > > You will need to use a boolean query to do this. In the boolean query > first, add a clause for the distance attribute using MUST clause and then > add another

Re: Query related to GeoSpatial Search

2018-02-17 Thread Sidhant Aggarwal
Hi Aakanksha, You will need to use a boolean query to do this. In the boolean query first, add a clause for the distance attribute using MUST clause and then add another timestamp query MUST clause. Use this: https://lucene.apache.org/core/6_1_0/core/org/apache/lucene/search/BooleanQuery.html