>
> When I do a query without specifying the field, I would expect to search on
> the alias *var* but it searches on all those fields defined in *qf*.

When you pass qf parameter, edismax query searches all the fields mentioned
in that parameter. df comes into picture when you don't pass qf or you
don't use any <field>:<value>.

Otherwise, how can I
> set different scores to parameters while keeping an independent *df*?


Why can't you pass different values for qf parameter with different boosts
to get different scores?

On Sun, Jan 6, 2013 at 5:49 PM, Juan Miguel Cejuela <jua...@jmcejuela.com>wrote:

> Hi,
>
> I have the following exemplified parameters in my edismax query:
>
> qf=a^3 x^2 y^1
> f.var.qf=x^2 y^1
> df=var
>
> When I do a query without specifying the field, I would expect to search on
> the alias *var* but it searches on all those fields defined in *qf*. Is
> this the expected behavior? I don't see it documented. Otherwise, how can I
> set different scores to parameters while keeping an independent *df*? Like
> the following?
>
> f.a.qf=a^3
> f.var.qf=x^2 y^1
> df=var
>
>
> Thanks for your help.
>
>
> --
> Juan Miguel Cejuela
>



-- 
Regards
Naresh

Reply via email to