We don't have such a query, but there are workarounds. - If you need this feature for pagination, you should instead use IndexSearcher.searchAfter with a LatLonPointSortField. - If your documents have a single geo-point, you could build a boolean query with a distance query or the outer radius a a FILTER clause and a distance query of the inner radius as a MUST_NOT clause.
Le lun. 4 déc. 2017 à 09:16, sp <sprad...@4info.com> a écrit : > Hello, > > Does lucene java api have a way to do a ring geospatial query around a > LatLonPoint and return the results sorted by distance? By ring, I mean > points which lie beyond an inner radius and within an outer radius > > Any suggestions are greatly appreciated. > Thanks > > > > -- > Sent from: > http://lucene.472066.n3.nabble.com/Lucene-Java-Users-f532864.html > > --------------------------------------------------------------------- > To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org > For additional commands, e-mail: java-user-h...@lucene.apache.org > >