Return-Path: Delivered-To: apmail-jakarta-lucene-dev-archive@www.apache.org Received: (qmail 58600 invoked from network); 15 Feb 2004 03:55:50 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 15 Feb 2004 03:55:50 -0000 Received: (qmail 86947 invoked by uid 500); 15 Feb 2004 03:55:28 -0000 Delivered-To: apmail-jakarta-lucene-dev-archive@jakarta.apache.org Received: (qmail 86922 invoked by uid 500); 15 Feb 2004 03:55:28 -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 86900 invoked from network); 15 Feb 2004 03:55:27 -0000 Received: from unknown (HELO a.mail.sonic.net) (64.142.16.245) by daedalus.apache.org with SMTP; 15 Feb 2004 03:55:27 -0000 Received: from frodo (adsl-64-142-37-161.sonic.net [64.142.37.161] (may be forged)) by a.mail.sonic.net (8.12.10/8.12.7) with SMTP id i1F3tbbp027620 for ; Sat, 14 Feb 2004 19:55:37 -0800 Message-ID: <003e01c3f377$868f9380$0200a8c0@frodo> From: "Anand Stephen" To: Subject: Escaping lucene key words. Date: Sat, 14 Feb 2004 19:55:17 -0800 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_003B_01C3F334.7839D1D0" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N ------=_NextPart_000_003B_01C3F334.7839D1D0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Greetings, (i) Is there an utility method to escape all Lucene keywords. Something = along the lines of this method = http://jakarta.apache.org/commons/lang/api/org/apache/commons/lang/String= EscapeUtils.html#escapeXml(java.lang.String) (ii) If the answer to (i) is yes where can I find it? (iii) If the answer to (i) is no. =20 Would it be a good idea to provide Lucene user with a additional = utility class(es) in the "util" package that does work some work = like escape chars and any other methods that would make the Lucene = user's life even more easier?=20 I am willing to contribute code for this method. Thank you , --sa ------=_NextPart_000_003B_01C3F334.7839D1D0--