lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bernd Fehling (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-3377) eDismax: A fielded query wrapped by parens is not recognized
Date Fri, 11 May 2012 07:23:50 GMT

    [ https://issues.apache.org/jira/browse/SOLR-3377?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13273099#comment-13273099
] 

Bernd Fehling commented on SOLR-3377:
-------------------------------------

Shoot me an enhanced unit test which covers your requests and i will look into this.

But, while looking through all the test cases I think we really need a clear definition of
rules and define a BNF syntax description for edismax and then implement the BNF syntax. This
has two advantages, the user knows how to construct a valid query and we can clean up the
patch work inside edismax. This can also obey fallback mechanism to always return a valid
query.
How about that?

                
> 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: Bernd Fehling
>             Fix For: 4.0, 3.6.1
>
>         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: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message