Return-Path: Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: (qmail 72390 invoked from network); 22 Apr 2008 15:48:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 22 Apr 2008 15:48:47 -0000 Received: (qmail 98309 invoked by uid 500); 22 Apr 2008 15:48:47 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 98279 invoked by uid 500); 22 Apr 2008 15:48:47 -0000 Mailing-List: contact dev-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@jackrabbit.apache.org Delivered-To: mailing list dev@jackrabbit.apache.org Received: (qmail 98268 invoked by uid 99); 22 Apr 2008 15:48:47 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Apr 2008 08:48:47 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Apr 2008 15:48:03 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 23A31234C0F1 for ; Tue, 22 Apr 2008 08:45:22 -0700 (PDT) Message-ID: <1873568124.1208879122144.JavaMail.jira@brutus> Date: Tue, 22 Apr 2008 08:45:22 -0700 (PDT) From: "Jukka Zitting (JIRA)" To: dev@jackrabbit.apache.org Subject: [jira] Updated: (JCR-1544) [PATCH] fix a NOT b queries In-Reply-To: <1815987602.1208489241462.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/JCR-1544?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jukka Zitting updated JCR-1544: ------------------------------- Issue Type: Improvement (was: Bug) Classifying as an improvement. AFAIUI full text matching is case-insensitive, so BAND being turned to Band won't matter that much. > [PATCH] fix a NOT b queries > ----------------------------- > > Key: JCR-1544 > URL: https://issues.apache.org/jira/browse/JCR-1544 > Project: Jackrabbit > Issue Type: Improvement > Components: jackrabbit-core > Reporter: Dave Brosius > Priority: Minor > 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 "\\bnot\\b" -> NOT -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.