: Then when I match a new Document with "Red, Big", Document 1 should be top,
: Document 2 in the middle, and Document 3 in the bottom. But I still want
: Document 3 to show up in result because it still matches on Red.
: 
: If I simply add opposite tags in the query with <1 boost (search for "Red
: Big Small^0.1", e.g.), it still contribute positively to the final score,
: document 3 will be higher than document 2.
: 
: If I use "-" on the opposite terms (fieldName: (Red Big) -fieldName:Small)
: I'll lose document 3 altogether.

It sounds like you're looking for a "negative boost" which doesn't exist, 
you have to do a "positive boost" on the inverse set...

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

        q = Red Big (*:* -Small)

-Hoss

Reply via email to