OK here is the use case:

- Someone types "Dr. Joe Smith"
- We have the lat long of the user (say Denver, CO)
- We want to limit to 50 km around Denver, but if there is an exact match
we want to put that one at the top of the results.
- If there an elegant way to do this? Or do we need to run 2 queries?

/select?q=*:*&fq={!dismax}"Dr. Joe Smith" OR {!geofilt}&d=50&pt=(lat long
for Denver)&sort=geodist() desc

But I want the Dr. Joe Smith to show at the top. I could boost it by like
100.

/select?q=*:*&fq={!dismax}"Dr. Joe Smith"^100 OR {!geofilt}&d=50&pt=(lat
long for Denver)&bq=geodist()&sort=score desc

Thoughts?



-- 
Bill Bell
billnb...@gmail.com
cell 720-256-8076

Reply via email to