You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Michael Busch (JIRA)" <ji...@apache.org> on 2007/03/08 05:25:24 UTC

[jira] Resolved: (LUCENE-372) Unmatched right parentheses truncates query

     [ https://issues.apache.org/jira/browse/LUCENE-372?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Busch resolved LUCENE-372.
----------------------------------

    Resolution: Fixed

I just committed this. Thanks, Andreas!

> Unmatched right parentheses truncates query
> -------------------------------------------
>
>                 Key: LUCENE-372
>                 URL: https://issues.apache.org/jira/browse/LUCENE-372
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: QueryParser
>    Affects Versions: 1.4, 1.9, 2.0.0, 2.0.1, 2.1
>         Environment: Operating System: Linux
> Platform: PC
>            Reporter: Patrick Hochstenbach
>         Assigned To: Michael Busch
>            Priority: Minor
>             Fix For: 2.2
>
>         Attachments: Lucene-372.patch, LUCENE-372.patch.txt
>
>
> The query processor truncates a query when right parentheses are unmatched.
> E.g.:
>  secret AND illegal) AND access:confidential
> will not result in a ParseException instead will run as:
>  secret AND illegal

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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