geoDistanceFilter where radius comes from a document field

(bgossey) #1


I'm using the JAVA api, and I have a geofilter
DistanceUnit.KILOMETERS).point(lat, lon)", where radius is a simple
java double variable I can set. What I want is to use a filter where
your radius is filled in by a value comming from the document itself
instead of assigning it upfront. Something like:

DistanceUnit.KILOMETERS).point(lat, lon).

Does anyone know if something like this is possible?

Bert Gossey

(system) #2