lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pawel Rog <pawelro...@gmail.com>
Subject Re: Edismax parser and boosts
Date Thu, 09 Oct 2014 11:53:45 GMT
Hi,
Thank you for your response.
I checked it in Solr 4.8 but I think this works as I described from very
long time. I'm not 100% sure if it is really bug or not. When I run phrase
query like "foo^1.0 bar" this works very similarto what happens in edismax
with set *pf* parameter (boost part is not removed).

--
Paweł Róg

On Thu, Oct 9, 2014 at 12:07 AM, Jack Krupansky <jack@basetechnology.com>
wrote:

> Definitely sounds like a bug! File a Jira. Thanks for reporting this. What
> release of Solr?
>
>
>
> -- Jack Krupansky
> -----Original Message----- From: Pawel Rog
> Sent: Wednesday, October 8, 2014 3:57 PM
> To: solr-user@lucene.apache.org
> Subject: Edismax parser and boosts
>
>
> Hi,
> I use edismax query with q parameter set as below:
>
> q=foo^1.0+AND+bar
>
> For such a query for the same document I see different (lower) scoring
> value than for
>
> q=foo+AND+bar
>
> By default boost of term is 1 as far as i know so why the scoring differs?
>
> When I check debugQuery parameter in parsedQuery for "foo^1.0+AND+bar" I
> see Boolean query which one of clauses is a phrase query "foo 1.0 bar". It
> seems that edismax parser takes whole q parameter as a phrase without
> removing boost value and add it as a boolean clause. Is it a bug or it
> should work like that?
>
> --
> Paweł Róg
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message