Leonhard Maylein created SOLR-4130:
--------------------------------------
Summary: eDismax: Terms are skipped for phrase boost when using
parenthese
Key: SOLR-4130
URL: https://issues.apache.org/jira/browse/SOLR-4130
Project: Solr
Issue Type: Bug
Components: query parsers
Affects Versions: 4.0
Reporter: Leonhard Maylein
I've tried the following combination with the eDismax handler
in SOLR 4.0.0:
q: +sw(a b) +ti:(c d)
qf: freitext exttext^0.5
pf: freitext^6 exttext^3
The result is:
<str name="rawquerystring">+sw:(a b) +ti:(c d)</str>
<str name="querystring">+sw:(a b) +ti:(c d)</str>
<str name="parsedquery">(((sw:a sw:b) +(ti:c ti:d))
DisjunctionMaxQuery((freitext:"b d"^6.0)) DisjunctionMaxQuery((exttext:"b
d"^3.0)))/no_coord</str>
All terms are (equally) qualified by a field (field sw for the terms a and b,
field ti for the terms c and d).
Why do the eDismax handler only use the terms b and d to build the phrase boost
query?
It appears that some terms have been skipped for phrase boost.
Moreover, in my opinion, fielded terms should not be used in phrase boost
except for the specified field.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]