You need to specify the main part of your request after boost function:
q={!boost b=recip(geodist(),1,1000,1000)}foo:bar&...
If you are only interested in increasing the return distance, you can use a wildcard query:
q={!boost b=recip(geodist(),1,1000,1000)}*&...
... or use the function parser:
q={!func}recip(geodist(),1,1000,1000)&...
You also need to specify lat / long values ββand a spatial field for the request, either as arguments to the surveyor function:
q={!boost b=recip(geodist(50.1, -0.86, myGeoField),1,1000,1000)}foo:bar&...
... or taken into account as query string parameters:
q={!boost b=recip(geodist(),1,1000,1000)}foo:bar&sfield=myGeoField&pt=50.1,-0.86
source share