Return-Path: Delivered-To: apmail-jakarta-lucene-dev-archive@apache.org Received: (qmail 61128 invoked from network); 14 Jan 2002 15:29:46 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 14 Jan 2002 15:29:46 -0000 Received: (qmail 12994 invoked by uid 97); 14 Jan 2002 15:27:53 -0000 Delivered-To: qmlist-jakarta-archive-lucene-dev@jakarta.apache.org Received: (qmail 12799 invoked by uid 97); 14 Jan 2002 15:27:49 -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 12699 invoked from network); 14 Jan 2002 15:27:48 -0000 From: carlson@bookandhammer.com Errors-To: Date: Mon, 14 Jan 2002 07:27:13 -0800 Subject: QueryParser.jj character update Content-Type: multipart/alternative; boundary=Apple-Mail-1-502578900 Mime-Version: 1.0 (Apple Message framework v480) To: "Lucene Developers List" In-Reply-To: <20020114030239.7995.qmail@icarus.apache.org> Message-Id: <2F3C65C0-0903-11D6-8B62-0050E4C0B243@bookandhammer.com> X-Mailer: Apple Mail (2.480) X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N --Apple-Mail-1-502578900 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; format=flowed Hi, In looking into the QueryParser, I noticed that most charcters where allowed in the queryString buyt quite a few common characters where not. Can we look to update this to allow more characters? Obviously this is a big change since it will affect the way all tokens are made. I would suggest adding "/&=#\" Also, I think that we should add "." as a term_start_char. This handles names like .NET, .com ... Any thoughts on this? --Peter On Monday, January 14, 2002, at 12:12 AM, Brian Goetz wrote: How do I format the query in order to keep the parser satisfied? I have tried the usual \-escaping of difficult characters, but that doesn't work either. Is there a way to set which characters are allowed in a query or something similar? Right now, the parser doesn't know what to do with the characters like = and &. -- To unsubscribe, e-mail: For additional commands, e-mail: --Apple-Mail-1-502578900--