Page gave the answer correctly. However, the error is displayed depending on the given request.
Error parsing fieldname: geodist - not enough parameters:[]
the surveyor needs sfield (a field that contains space in the document) and pt (the center point of the circle). If he cannot find any of them, he will display a displayed error.
Or add these two to the URL
&pt=52.373,4.899&sfield=store&fl=_dist_:geodist()
Or add two (or actually 3: pt , lat and lon ) to the geodist() function call:
&fl:_dist_:geodist(store,52.373,4.899)
Please note that in the first case, if your request has additional geo-functions (for example, geofilt ), pt and sfield are used for this (if it is not canceled locally)
source share