Ah yes sorry mis-understood. Another option is to use n-grams so that "projectmanager" is a term so any query involving "project manager in india with 2 years experience" would match higher because the query would contain "projectmanager" as a term.
On Wed, Feb 13, 2013 at 9:56 PM, Hemant Verma <hemantverm...@gmail.com>wrote: > Thanks for the response. > > pf parameter actually boost the documents considering all search keywords > mentioned in main query but I am looking for something which boost the > documents considering few search keywords from the user query. > Like as per the example, user query is (project manager in India with 2 yrs > experience) and my dictionary contains one entry as 'project manager' which > specifies if user query has 'project manager' in his query then boost those > documents which contains 'project manager' as an exact match. > > > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/Boost-Specific-Phrase-tp4040188p4040371.html > Sent from the Solr - User mailing list archive at Nabble.com. >