From lucene-dev-return-7458-apmail-jakarta-lucene-dev-archive=jakarta.apache.org@jakarta.apache.org Fri Sep 03 00:36:12 2004 Return-Path: Delivered-To: apmail-jakarta-lucene-dev-archive@www.apache.org Received: (qmail 40502 invoked from network); 3 Sep 2004 00:36:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 3 Sep 2004 00:36:11 -0000 Received: (qmail 97189 invoked by uid 500); 3 Sep 2004 00:36:09 -0000 Delivered-To: apmail-jakarta-lucene-dev-archive@jakarta.apache.org Received: (qmail 97022 invoked by uid 500); 3 Sep 2004 00:36:07 -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 97008 invoked by uid 99); 3 Sep 2004 00:36:07 -0000 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=NO_REAL_NAME,UPPERCASE_25_50 X-Spam-Check-By: apache.org Received: from [192.18.33.10] (HELO exchange.sun.com) (192.18.33.10) by apache.org (qpsmtpd/0.28) with SMTP; Thu, 02 Sep 2004 17:36:06 -0700 Received: (qmail 24132 invoked by uid 50); 3 Sep 2004 00:37:47 -0000 Date: 3 Sep 2004 00:37:47 -0000 Message-ID: <20040903003747.24131.qmail@nagoya.betaversion.org> From: bugzilla@apache.org To: lucene-dev@jakarta.apache.org Cc: Subject: DO NOT REPLY [Bug 30985] - Query.toString() and Query.toString(String field) not escaping special characters X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=30985 Query.toString() and Query.toString(String field) not escaping special characters ------- Additional Comments From jakarta@ehatchersolutions.com 2004-09-03 00:37 ------- It's really too good to be true that Query.toString returns a QueryParser string. There are many Query types which QueryParser knows nothing about and quite a few nuances. I do agree in this case it would be nice to have the special characters escaped though. Hopefully it's possible to share a constant so there is no duplication and potential mismatch later if the list changes. --------------------------------------------------------------------- To unsubscribe, e-mail: lucene-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: lucene-dev-help@jakarta.apache.org