Filtering by distance vs. field value in Solr -


i have schema includes maximum radius result show - example, 50. able calculate distance , filter without problem, need filter field, changes document document. i've tried:

fq={!frange l=0 u=radius_field}geodist() 

and

fq={!func}geodist():[0 radius_field] 

to no effect. there way this? filter client-side, worst case, figure there's out there has had same use case.

not direct answer, create new function is_in_range(radius_field) returns boolean result if geodist() less radius_field parameter? might circumvent issues finding trying filter range using parameter.


Comments

Popular posts from this blog

javascript - Using jquery append to add option values into a select element not working -

Android soft keyboard reverts to default keyboard on orientation change -

jquery - javascript onscroll fade same class but with different div -