What I would like to do is ONLY boost if there is a match on terms in SOLR 3.5. For example:
1. q=smith&defType=dismax&qf=user_query&sort=score desc 2. I want to add a boost by distance (closest = highest score), ONLY if there is a hit on #1. This one only multiplies by the "smith" * recip(geodist(),5,25,25)... q=smith&defType=dismax&qf=user_query&sort=score desc&bq=_val_:"recip(geodist($pt),5,25,25)"&sfield=lat_lon&pt=39.740112,-104.984856 I want something like: q=smith&defType=dismax&qf=user_query&sort=score desc&bq=_val_:"product(tf(user_query,$q),recip(geodist(),5,25,25))"&sfield=lat_lon TF() is not available in SOLR 3.5. I also tried: q=smith&defType=dismax&qf=user_query&sort=product(query($qq),recip(geodist($pt),1,25,25)) desc&sfield=lat_lon&qq={!lucene}user_query:smith&pt=39.740112,-104.984856 Thoughts? -- Bill Bell billnb...@gmail.com cell 720-256-8076