Thanks Adrien. 

My documents do have a single geo-point, and your suggestion worked. This is
my final code.

        Query latlonQuery = LatLonPoint.newDistanceQuery("loc", lat. lon,
        Query innerRadiusQuery = LatLonPoint.newDistanceQuery("loc", lat, lon,
        latlonQuery = new BooleanQuery.Builder()
                            .add(latlonQuery, BooleanClause.Occur.MUST)
                            .add(innerRadiusQuery, BooleanClause.Occur.MUST_NOT)

Thanks again.

Sent from:

To unsubscribe, e-mail:
For additional commands, e-mail:

Reply via email to