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 John <fa...@gmail.com> on 2011/12/07 17:48:37 UTC
Boost Query in Edismax
I have a complex edismax query:
facet=true&facet.mincount=0&qf=title^0.08+categorysearch^0.05+abstract^0.03+body^0.1&wt=javabin&rows=25&defType=edismax&version=2&omitHeader=true&fl=*,score&bq=eqid:(3yp^1.57+OR+5fi^1.55+OR+c1s^1.55+OR+3ym^1.55+OR+gjz^1.55...)&start=0&q=*:*&facet.field=category&facet.field=equation&facet.field=source&fq=eqid:(3yp+OR+5fi+OR+c1s+OR+3ym+OR+gjz...)
The list inside the parentheses is quite long.
What I am interested in achieving is to get the final score of a document
to be affected only by the highest boost for that document - rather by all
possible boosts.
Please let me know how can I achieve that.
Thanks in advance.
Re: Boost Query in Edismax
Posted by John <fa...@gmail.com>.
I tried that, didn't seem to affect anything.
I think it only works between fields and not within a field.
On Thu, Dec 8, 2011 at 10:00 AM, Marc SCHNEIDER
<ma...@gmail.com>wrote:
> Hi,
>
> Maybe you could have a look at this :
> http://wiki.apache.org/solr/DisMaxQParserPlugin#tie_.28Tie_breaker.29
>
> Marc.
>
> On Wed, Dec 7, 2011 at 5:48 PM, John <fa...@gmail.com> wrote:
>
> > I have a complex edismax query:
> >
> >
> >
> facet=true&facet.mincount=0&qf=title^0.08+categorysearch^0.05+abstract^0.03+body^0.1&wt=javabin&rows=25&defType=edismax&version=2&omitHeader=true&fl=*,score&bq=eqid:(3yp^1.57+OR+5fi^1.55+OR+c1s^1.55+OR+3ym^1.55+OR+gjz^1.55...)&start=0&q=*:*&facet.field=category&facet.field=equation&facet.field=source&fq=eqid:(3yp+OR+5fi+OR+c1s+OR+3ym+OR+gjz...)
> >
> > The list inside the parentheses is quite long.
> >
> > What I am interested in achieving is to get the final score of a document
> > to be affected only by the highest boost for that document - rather by
> all
> > possible boosts.
> >
> > Please let me know how can I achieve that.
> >
> > Thanks in advance.
> >
>
Re: Boost Query in Edismax
Posted by Marc SCHNEIDER <ma...@gmail.com>.
Hi,
Maybe you could have a look at this :
http://wiki.apache.org/solr/DisMaxQParserPlugin#tie_.28Tie_breaker.29
Marc.
On Wed, Dec 7, 2011 at 5:48 PM, John <fa...@gmail.com> wrote:
> I have a complex edismax query:
>
>
> facet=true&facet.mincount=0&qf=title^0.08+categorysearch^0.05+abstract^0.03+body^0.1&wt=javabin&rows=25&defType=edismax&version=2&omitHeader=true&fl=*,score&bq=eqid:(3yp^1.57+OR+5fi^1.55+OR+c1s^1.55+OR+3ym^1.55+OR+gjz^1.55...)&start=0&q=*:*&facet.field=category&facet.field=equation&facet.field=source&fq=eqid:(3yp+OR+5fi+OR+c1s+OR+3ym+OR+gjz...)
>
> The list inside the parentheses is quite long.
>
> What I am interested in achieving is to get the final score of a document
> to be affected only by the highest boost for that document - rather by all
> possible boosts.
>
> Please let me know how can I achieve that.
>
> Thanks in advance.
>