Return-Path: Delivered-To: apmail-lucene-solr-user-archive@minotaur.apache.org Received: (qmail 31470 invoked from network); 2 Sep 2010 19:35:18 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 2 Sep 2010 19:35:18 -0000 Received: (qmail 61975 invoked by uid 500); 2 Sep 2010 19:35:15 -0000 Delivered-To: apmail-lucene-solr-user-archive@lucene.apache.org Received: (qmail 61922 invoked by uid 500); 2 Sep 2010 19:35:15 -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 61914 invoked by uid 99); 2 Sep 2010 19:35:15 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Sep 2010 19:35:15 +0000 X-ASF-Spam-Status: No, hits=0.7 required=10.0 tests=RCVD_IN_DNSWL_NONE,SPF_HELO_PASS,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [212.227.126.187] (HELO moutng.kundenserver.de) (212.227.126.187) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Sep 2010 19:35:05 +0000 Received: from [192.168.178.34] (koln-5d8134e7.pool.mediaWays.net [93.129.52.231]) by mrelayeu.kundenserver.de (node=mrbap2) with ESMTP (Nemesis) id 0Li23m-1PCVov096Q-00mV1I; Thu, 02 Sep 2010 21:34:43 +0200 Message-ID: <4C7FFC6C.1020700@lackhoff.de> Date: Thu, 02 Sep 2010 21:35:08 +0200 From: Michael Lackhoff User-Agent: Thunderbird 2.0.0.24 (Windows/20100228) MIME-Version: 1.0 To: solr-user@lucene.apache.org Subject: Is semicolon a character that needs escaping? Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit X-Provags-ID: V02:K0:EiPTSM0lDEZqgL9pzmA7tJl6NnNCAdVZ38nRity5dLx A8kgb5JpU8soWoT3lnQfBA17/VWort8JAqIXBJ/Lw/DpxLSW1d xFQ+s2w2lTChsRTCj9OBeSLLB0TvpWI35SRp1v1jabqDrp2bW6 Lp9s8t6uioxvlkIYBkwrs/sL2JB0ZrUMbAswu1Uv77XzalshZ4 JXx+sDYg5y90rNVsfQixw== According to http://lucene.apache.org/java/2_9_1/queryparsersyntax.html only these characters need escaping: + - && || ! ( ) { } [ ] ^ " ~ * ? : \ but with this simple query: TI:stroke; AND TI:journal I got the error message: HTTP ERROR: 400 Unknown sort order: TI:journal My first guess was that it was a URL encoding issue but everything looks fine: http://localhost:8983/solr/select/?q=TI%3Astroke%3B+AND+TI%3Ajournal&version=2.2&start=0&rows=10&indent=on as you can see, the semicolon is encoded as %3B There is no problem when the query ends with the semicolon: TI:stroke; gives no error. The first query also works if I escape the semicolon: TI:stroke\; AND TI:journal >From this I conclude that there is a bug either in the docs or in the query parser or I missed something. What is wrong here? -Michael