:       My Solr documents contain descriptions of products, similar to a 
BestBuy or
: a NewEgg catalog. I'm wondering if it were possible to push a product down
: the ranking if it contains a certain word. By this I mean it would still

https://wiki.apache.org/solr/SolrRelevancyFAQ#How_do_I_give_a_negative_.28or_very_low.29_boost_to_documents_that_match_a_query.3F

The general principle you need to follow is to boost documents that do 
*not* match your keyword...

        (*:* -Refurbished)^10


: appear in the search results. However, instead of appearing near the top of
: the results, it would appear further towards the bottom. (I'm assuming this
: is a called a negative boost.)
: 
:       For example, consider the word:  'Refurbished' or the word: 'Case'
: 
:       If the product description contains the word 'Refurbished' (or the word
: 'Case') I would like to reduce the ranking of these products. My business
: logic is that I would rather sell a new Laptop vs a refurbished laptop, or I
: would rather sell a laptop vs selling a laptop case. So, I would like to see
: if I can assign products a negative boost if they contain certain words in
: their description.
: 
: Thank you in advance for all your help,
: O. O.
: 
: 
: 
: --
: View this message in context: 
http://lucene.472066.n3.nabble.com/Negative-Boosting-documents-with-a-certain-word-tp4203224.html
: Sent from the Solr - User mailing list archive at Nabble.com.
: 

-Hoss
http://www.lucidworks.com/

Reply via email to