Return-Path: Delivered-To: apmail-jakarta-lucene-dev-archive@www.apache.org Received: (qmail 61291 invoked from network); 4 Jan 2005 15:38:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 4 Jan 2005 15:38:12 -0000 Received: (qmail 26037 invoked by uid 500); 4 Jan 2005 15:37:59 -0000 Delivered-To: apmail-jakarta-lucene-dev-archive@jakarta.apache.org Received: (qmail 26003 invoked by uid 500); 4 Jan 2005 15:37:58 -0000 Mailing-List: contact lucene-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Lucene Developers List" Reply-To: "Lucene Developers List" Delivered-To: mailing list lucene-dev@jakarta.apache.org Received: (qmail 25955 invoked by uid 500); 4 Jan 2005 15:37:57 -0000 Received: (qmail 25946 invoked by uid 99); 4 Jan 2005 15:37:57 -0000 X-ASF-Spam-Status: No, hits=-9.8 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from minotaur.apache.org (HELO minotaur.apache.org) (209.237.227.194) by apache.org (qpsmtpd/0.28) with SMTP; Tue, 04 Jan 2005 07:37:56 -0800 Received: (qmail 61194 invoked by uid 1490); 4 Jan 2005 15:37:54 -0000 Date: 4 Jan 2005 15:37:54 -0000 Message-ID: <20050104153754.61193.qmail@minotaur.apache.org> From: kelvint@apache.org To: jakarta-lucene-sandbox-cvs@apache.org Subject: cvs commit: jakarta-lucene-sandbox/contributions/javascript/queryConstructor luceneQueryConstructor.js X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N kelvint 2005/01/04 07:37:54 Modified: contributions/javascript/queryConstructor luceneQueryConstructor.js Log: Fixed appending of groupModifier even when it is a NO_MODIFIER. Revision Changes Path 1.12 +2 -1 jakarta-lucene-sandbox/contributions/javascript/queryConstructor/luceneQueryConstructor.js Index: luceneQueryConstructor.js =================================================================== RCS file: /home/cvs/jakarta-lucene-sandbox/contributions/javascript/queryConstructor/luceneQueryConstructor.js,v retrieving revision 1.11 retrieving revision 1.12 diff -u -r1.11 -r1.12 --- luceneQueryConstructor.js 7 Jun 2004 11:05:23 -0000 1.11 +++ luceneQueryConstructor.js 4 Jan 2005 15:37:54 -0000 1.12 @@ -190,6 +190,7 @@ } else { + if(groupModifier == NO_MODIFIER) groupModifier = '' if(query.value.length == 0) { query.value = groupModifier + fieldName + ':(' + value + ')'; --------------------------------------------------------------------- To unsubscribe, e-mail: lucene-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: lucene-dev-help@jakarta.apache.org