Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 3017 invoked from network); 10 Feb 2006 13:14:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 10 Feb 2006 13:14:12 -0000 Received: (qmail 70995 invoked by uid 500); 10 Feb 2006 13:14:08 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 70906 invoked by uid 500); 10 Feb 2006 13:14:06 -0000 Mailing-List: contact java-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-user@lucene.apache.org Delivered-To: mailing list java-user@lucene.apache.org Received: (qmail 70895 invoked by uid 99); 10 Feb 2006 13:14:06 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Feb 2006 05:14:06 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [143.205.118.212] (HELO proserver2.ifit.uni-klu.ac.at) (143.205.118.212) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Feb 2006 05:14:05 -0800 Received: from [143.205.118.106] ([143.205.118.106]) by proserver2.ifit.uni-klu.ac.at over TLS secured channel with Microsoft SMTPSVC(5.0.2195.6713); Fri, 10 Feb 2006 14:13:42 +0100 Message-ID: <43EC9184.1050706@ifit.uni-klu.ac.at> Date: Fri, 10 Feb 2006 14:13:40 +0100 From: sergiu gordea User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: en-us, en MIME-Version: 1.0 To: java-user@lucene.apache.org Subject: QueryParser behaviour .. References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 10 Feb 2006 13:13:42.0478 (UTC) FILETIME=[D0A4B6E0:01C62E43] X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi all, I built a wrong query string "word1,word2,word3" instead of "word1 word2 word3" therefore I got a wrong query: field:"word1 word2 word3" instead of field:word1 field:word2 field:word3. Is this an espected behaviour? I used Standard analyzer, probably therefore, the comas were replaced with spaces. Indeded was no space between the words, just comas. Is this a bug? Does it make sense to indicate this situation through a Parse Exception? Best, Sergiu --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org For additional commands, e-mail: java-user-help@lucene.apache.org