lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Leonhard Maylein (JIRA)" <>
Subject [jira] [Commented] (SOLR-3377) eDismax: A fielded query wrapped by parens is not recognized
Date Wed, 28 Nov 2012 11:18:58 GMT


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:
>             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:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message