lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pawel Rog <pawelro...@gmail.com>
Subject Edismax parser and boosts
Date Wed, 08 Oct 2014 19:57:25 GMT
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