lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yonik Seeley (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-3377) eDismax: A fielded query wrapped by parens is not recognized
Date Thu, 12 Jul 2012 16:37:35 GMT

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

Yonik Seeley commented on SOLR-3377:
------------------------------------

Thanks Bernd, this looks like an improvement.
After some ad-hoc testing, it seems we still have problems with q=(+id:42)

Another minor concern: the change to clause.field to exclude things like '(' also means that
when it's not a valid lucene query, our reconstructed query will currently drop the paren.

Example: A query of (a:b with a qf=id correctly produces id:"(a:b"
but a query of (id:b produces id:b
That type of thing should really only affect exact match type fields where punctuation isn't
dropped - not sure how much of an issue it really is.
                
> 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
>
>         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