If the bq is only supposed apply the boost when the field value is greater
than 0.01 why would trying another query make sure this is working.

Its applying the boost to all the fields, yes when the boost is high enough
most of documents with a value GT 0.01 show up first however since it is
applying the boost to all the documents sometimes documents without a value
in this field appear before those that do.



On Tue, May 15, 2012 at 4:51 PM, Ahmet Arslan <iori...@yahoo.com> wrote:

> > Scratch that...it still seems to be
> > boosting documents where the value of
> > the field is empty.
> >
> >
> > bq=regularprice:[0.01 TO *]^50
> >
> > Results with bq set:
> >
> > <doc>
> >     <float
> > name="score">2.2172112</float>
> >     <str
> > name="code">bhl-ltab-30</str>
> >   </doc>
> >
> >
> > Results without bq set:
> >
> > <doc>
> >     <float
> > name="score">2.4847748</float>
> >     <str
> > name="code">bhl-ltab-30</str>
> >   </doc>
> >
>
> Important thing is the order. Does the order of results change in a way
> that you want? (When you add bq)
>
> It is not a good idea to compare scores of two different queries. I
> *think* queryNorm is causing this difference.
> You can add debugQuery=on and see what is the difference.
>
>

Reply via email to