On Fri, Jun 19, 2009 at 7:00 AM, Chris Hostetter <hossman_luc...@fucit.org>wrote:
> > Marc: I know it's been a while since you asked this question, but i didn't > see any reply ... in general the problem is that a "low" boost is stil la > boost, it can only improve the score of documents that match. > > one way to fake a "negative boost" is to give a high boost to everything > that does *not* match. This should do what you want... > > bq=(*:* -field_a:54^10000) > > ...I can't remember if "bq" supports pure negative queries yet, if it does > then you can simplify that to bq=-field_a:54^10000 > Thanks for the info Hoss. I've added it to http://wiki.apache.org/solr/SolrRelevancyFAQ -- Regards, Shalin Shekhar Mangar.