I have a situation where I have to apply phrase boosting on multiple fields. I am using Edismax as query parser. For instance, I am accepting a keyword (phrase) from the user and I want the doc with the exact phrase to be on the top of the resultant list. The problem is, there are multiple fields to be queried upon. I could find some assistance from the code below but again it works on a single field only.
q=java+design+patterns&defType=edismax&qf=name&pf2=name^30&ps=0 Any kind of suggestion would be helpful. Best, Ritesh Kumar