Return-Path: Delivered-To: apmail-lucene-solr-user-archive@minotaur.apache.org Received: (qmail 61297 invoked from network); 1 Feb 2010 10:00:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 1 Feb 2010 10:00:52 -0000 Received: (qmail 42975 invoked by uid 500); 1 Feb 2010 10:00:50 -0000 Delivered-To: apmail-lucene-solr-user-archive@lucene.apache.org Received: (qmail 42743 invoked by uid 500); 1 Feb 2010 10:00:50 -0000 Mailing-List: contact solr-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: solr-user@lucene.apache.org Delivered-To: mailing list solr-user@lucene.apache.org Received: (qmail 42733 invoked by uid 99); 1 Feb 2010 10:00:49 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Feb 2010 10:00:49 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [206.190.49.13] (HELO web52903.mail.re2.yahoo.com) (206.190.49.13) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 01 Feb 2010 10:00:41 +0000 Received: (qmail 88399 invoked by uid 60001); 1 Feb 2010 10:00:19 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1265018418; bh=4Bex4faAUZRhpUJ5v1g9ANAojimeq8Il8w5x1Z0MZck=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=BEUx6dTAvwgGJId91IQp0+U2j4EbyPNpYv2oHhDvi8HnvVY2YRY1/bsYXQfUZLsEE1GLu3cdJZ6LBGfa/UMJ3TsWZFfWbnkvIB9rWpHPT+gTOLSRfNrjaelNC1rGq07Ym00LIQxRP8nrAYqtu0Rk4VtSwHpSCwyBGAShUiOw1yE= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=NS63wlT8etLvK6nFRjsfBiy6MvvXNFo2F6ySwWB9rLrPupfRZwSTXYeXCDhjApj3q93ZCYrvqagXab4u3+68UbK6RJnM3vNn8ANtpMAX4YY6mnu8r69e25dw+jO8FwyDpaUWvjrY/aC4ZyY1u+5SHerJtDt2bRY3HDYC+0zMQYI=; Message-ID: <947786.87582.qm@web52903.mail.re2.yahoo.com> X-YMail-OSG: _jikqoEVM1mb1Gezz8KVpDxIKQovgwo2yIrYvQ4AE3WpuLepXY8ulRedXBf9InLSlT_EFafun76HOjXQv4RnRFug3ktdPxRQmFEd9nU1Vz_JksgXeGPPSmANZYymQpF8PLara5miS1_uF977A1DVqB8DMxN8EWpd3dbDozmEVFea6gXCTygonSosmJaoQGoEWDtqevEF8Te8KwHZw9R4ofskw2sEXW16YgNmzT6pgylEJbEkq0F_MXHMywg5ZJAvFvDCPeeHRsWvl9Mg5st6rHP1duYNZdIYQq5Mgpeqd96TEzkEhXbNuir0QO.wap4O9T9fe0pyO2oZevuIc2y5 Received: from [193.140.184.100] by web52903.mail.re2.yahoo.com via HTTP; Mon, 01 Feb 2010 02:00:18 PST X-Mailer: YahooMailClassic/9.1.10 YahooMailWebService/0.8.100.260964 Date: Mon, 1 Feb 2010 02:00:18 -0800 (PST) From: Ahmet Arslan Subject: Re: getting error when ":" in the query To: solr-user@lucene.apache.org In-Reply-To: <21fb6e661001312313kae44551g3682bc90f76ff3b3@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii > However I would also like to know that, is there any short > way to put "\" > before special character which will not effect the > performance. There is a static method in org.apache.lucene.queryParser.QueryParser that does this: QueryParser.escape(String s);