Hi Shamik,

Yes it is possible with map and query functions. 

Please see Jan's example : 
http://www.cominvent.com/2012/01/25/super-flexible-autocomplete-with-solr/



On Wednesday, June 11, 2014 9:34 AM, Shamik Bandopadhyay <sham...@gmail.com> 
wrote:
Hi,

  I'm using edismax parser to perform a runtime boosting. Here's my sample
request handler entry.

<str name="qf">text^2 title^3</str>
<str name="bq">Source:Blog^3 Source2:Videos^2</str>
<str name="bf">recip(ms(NOW/DAY,PublishDate),3.16e-11,1,1)^2.0</str>

As you can see, I'm adding weights to text and title, as well as, boosting
on source. What I'm trying to see is if there's a way to change the the
weights based on Source.E.g. for source "Blog", I would like to have the
following boost "text^3 title^2" while for source "Videos" , I prefer
"text^2 title^3".

Any pointers will be appreciated.

Thanks,
Shamik

Reply via email to