[
https://issues.apache.org/jira/browse/SOLR-3377?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13505370#comment-13505370
]
Leonhard Maylein commented on SOLR-3377:
----------------------------------------
I do not agree that this issue is solved.
I've tried the following combination with 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>
There should be no splitting on the qf/pf fields and therefore no
DisjunctionMaxQueries.
The query '+(sw:a sw:b) +(ti:c ti:d)' works as expected.
> eDismax: A fielded query wrapped by parens is not recognized
> ------------------------------------------------------------
>
> Key: SOLR-3377
> URL: https://issues.apache.org/jira/browse/SOLR-3377
> Project: Solr
> Issue Type: Bug
> Components: query parsers
> Affects Versions: 3.6
> Reporter: Jan Høydahl
> Assignee: Yonik Seeley
> Priority: Critical
> Fix For: 4.0-BETA
>
> Attachments: SOLR-3377.patch, SOLR-3377.patch, SOLR-3377.patch,
> SOLR-3377.patch
>
>
> As reported by "bernd" on the user list, a query like this
> {{q=(name:test)}}
> will yield 0 hits in 3.6 while it worked in 3.5. It works without the parens.
--
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]