i have a dismax query where I want to boost appearance of the query terms in certain fields but "downboost" appearance in others.

The practical use is a field containing a lot of descriptive text and then a product name field where products might be named after a descriptive word. Consider an electric toothbrush called "The Fast And Thorough Toothbrush" -- if a user searches for fast toothbrush I'd like to down-weight that particular model's advantage. The name of the product might also be in the descriptive text.

I tried

     <str name="qf">
        -name description
     </str>

but solr didn't like that.

Any better ideas?


--
http://variogr.am/



Reply via email to