Return-Path: Delivered-To: apmail-jakarta-lucene-dev-archive@www.apache.org Received: (qmail 59955 invoked from network); 9 May 2004 13:02:20 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 9 May 2004 13:02:20 -0000 Received: (qmail 54347 invoked by uid 500); 9 May 2004 13:02:16 -0000 Delivered-To: apmail-jakarta-lucene-dev-archive@jakarta.apache.org Received: (qmail 54179 invoked by uid 500); 9 May 2004 13:02:15 -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 54166 invoked from network); 9 May 2004 13:02:14 -0000 Received: from unknown (HELO ErikHatcher.local) (24.51.109.181) by daedalus.apache.org with SMTP; 9 May 2004 13:02:14 -0000 Received: from [127.0.0.1] (localhost [127.0.0.1]) by ErikHatcher.local (Postfix) with ESMTP id D9D246E0B10 for ; Sun, 9 May 2004 09:02:17 -0400 (EDT) Mime-Version: 1.0 (Apple Message framework v613) In-Reply-To: <409E0E5E.9020000@wyona.com> References: <409E0E5E.9020000@wyona.com> Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <17D3290E-A1B9-11D8-871F-000393A564E6@ehatchersolutions.com> Content-Transfer-Encoding: 7bit From: Erik Hatcher Subject: Re: dash "feature", e.g. t-shirt Date: Sun, 9 May 2004 09:02:14 -0400 To: "Lucene Developers List" X-Mailer: Apple Mail (2.613) 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 On May 9, 2004, at 6:56 AM, Michael Wechner wrote: > has the follwing issue for 1.4 been resolved > > http://java2.5341.com/msg/4795.html Yes. A little JUnit test proves it: public void testWalMart() throws Exception { Query query = QueryParser.parse("Wal-Mart", "field", analyzer); assertEquals("Wal-Mart", query.toString("field")); query = QueryParser.parse("Wal+Mart", "field", analyzer); assertEquals("Wal+Mart", query.toString("field")); } Erik --------------------------------------------------------------------- To unsubscribe, e-mail: lucene-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: lucene-dev-help@jakarta.apache.org