Another approach is to boost everything but that content. This bq should work:
*:* -ContentGroup:”Developer’s Documentation” Or a function query in the boost parameter, with an if statement. Or make ContentGroup an enum with different values for each group, and use a function query to boost by that value. I haven’t tried any of these, of course. wunder Walter Underwood wun...@wunderwood.org http://observer.wunderwood.org/ (my blog) > On Feb 25, 2016, at 3:33 PM, Binoy Dalal <binoydala...@gmail.com> wrote: > > According to the edismax documentation, negative boosts are supported, so > you should certainly give it a try. > https://cwiki.apache.org/confluence/display/solr/The+Extended+DisMax+Query+Parser > > On Fri, 26 Feb 2016, 03:45 shamik <sham...@gmail.com> wrote: > >> Emir, I don't Solr supports a negative boosting *^-99* syntax like this. I >> can certainly do something like: >> >> bq=(*:* -ContetGroup:"Developer's Documentation")^99 , but then I can't >> have >> my other bq parameters. >> >> This doesn't work --> bq=Source:simplecontent^10 Source:Help^20 (*:* >> -ContetGroup:"Developer's Documentation")^99 >> >> Are you sure something like *bq=ContenGroup-local:Developer^-99* worked for >> you? >> >> >> >> -- >> View this message in context: >> http://lucene.472066.n3.nabble.com/Query-time-de-boost-tp4259309p4259879.html >> Sent from the Solr - User mailing list archive at Nabble.com. >> > -- > Regards, > Binoy Dalal