jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dave Brosius (JIRA)" <j...@apache.org>
Subject [jira] Updated: (JCR-1544) [PATCH] fix a NOT b queries
Date Fri, 18 Apr 2008 03:27:21 GMT

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

Dave Brosius updated JCR-1544:
------------------------------

    Attachment: fix_not_queries.patch

> [PATCH] fix   a NOT b queries
> -----------------------------
>
>                 Key: JCR-1544
>                 URL: https://issues.apache.org/jira/browse/JCR-1544
>             Project: Jackrabbit
>          Issue Type: Bug
>          Components: jackrabbit-core
>    Affects Versions: core 1.4.2
>            Reporter: Dave Brosius
>            Priority: Minor
>             Fix For: core 1.4.3
>
>         Attachments: fix_not_queries.patch
>
>
> the query a NOT b doesn't work. Problem was LuceneQueryBuilder was lower casing the NOT
which causes the javacc code to fail.
> In addition, code just did a blind replaceAll on the string "NOT" and "AND", which is
wrong for things like 'BAND'.
> Patch changes code to look for "\\band\\b" -> AND and "\\not\\" -> NOT

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


Mime
View raw message