You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Jérôme Etévé <je...@eteve.net> on 2007/07/02 13:45:29 UTC
Specific fields with DisMaxQueryHandler
Hi ,
when we use DisMaxQueryHandler, queries that includes specific
fields which are not part of the boost string doesn't seem to work.
For instance, If the boost string ( qf ) is 'a^3 b^4' and
my query is 'term +c:term2' , it doesnt produce any result.
Am I using this QueryHandler the bad way ?
Thanks for your help.
Jerome.
--
Jerome Eteve.
jerome@eteve.net
http://jerome.eteve.free.fr/
Re: Specific fields with DisMaxQueryHandler
Posted by Paul Borgermans <pa...@gmail.com>.
Indeed, you should not include fields in the query itself, qf is the
parameter that takes the fields to search for, with optional boosts
hth
Paul
On 7/2/07, Jérôme Etévé <je...@eteve.net> wrote:
> Hi ,
> when we use DisMaxQueryHandler, queries that includes specific
> fields which are not part of the boost string doesn't seem to work.
>
> For instance, If the boost string ( qf ) is 'a^3 b^4' and
> my query is 'term +c:term2' , it doesnt produce any result.
>
> Am I using this QueryHandler the bad way ?
>
> Thanks for your help.
>
> Jerome.
>
> --
> Jerome Eteve.
> jerome@eteve.net
> http://jerome.eteve.free.fr/
>