Hi,

You can use the pf parameter of the DismaxQParserPlugin:
http://wiki.apache.org/solr/DisMaxQParserPlugin#pf_.28Phrase_Fields.29

This parameter receives a list of fields using the same syntax as the qf
parameter. After determining the list of matching documents,
DismaxQParserPlugin will boost the docs where the terms of the query match
as a phrase in the one of those fields. You can also use the ps field to set
a phrase slop and boost docs where the terms appear in close proximity
instead of as an exact phrase.

Regards,

*Juan*



On Thu, Jul 28, 2011 at 11:00 AM, O. Klein <kl...@octoweb.nl> wrote:

> I want to do a dismax search to search for original query and this query as
> a
> phrasequery:
>
> q=sail boat needs to be converted to dismax query q=sail boat "sail boat"
>
> qf=title^10 content^2
>
> What is best way to do this?
>
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/Possible-to-use-quotes-in-dismax-qf-tp3206762p3206762.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>

Reply via email to