Have you looked at the "pf" parameter for dismax handlers? pf does I think
what you are looking for which is to boost documents with the query term
exactly matching in the various fields with some phrase slop.


On Wed, Feb 13, 2013 at 2:59 AM, Hemant Verma <hemantverm...@gmail.com>wrote:

> Hi All
>
> I have a use case with phrase search.
>
> Let say I have a list of phrases in a file/dictionaries which are important
> as per our search content.
> One entry in the dictionary is lets say - project manager.
> If user's query contains any entry specified in dictionary then I want to
> boost the score of documents which have exact match of that entry.
>
> Lets take one example:-
>
> Now suppose user searches for (project manager in India with 2 yrs
> experience).
> There are words 'project manager' in the query in exact order as specified
> in dictionary then I want to boost the score of documents having 'project
> manager' as an exact match.
>
> This can be done at web application level after processing user query with
> dictionary and create query as below:
> q=project manager in India with 2 yrs experience&qf=title&bq=title:"project
> manager"^5
>
> I want to know is there any better solution available to this use case at
> Solr level.
>
> AFAIK there is something very similar available in FAST ESP know as Phrase
> Recognition.
>
> Thanks
> Hemant
>
>
>
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/Boost-Specific-Phrase-tp4040188.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>

Reply via email to