lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Wechner <michael.wech...@wyona.com>
Subject Re: dash "feature", e.g. t-shirt
Date Mon, 10 May 2004 09:30:41 GMT
Erik Hatcher wrote:

> 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"));
>   }


cool.

Thanks very much

Michi

>
> Erik
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: lucene-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: lucene-dev-help@jakarta.apache.org
>
>


-- 
Michael Wechner
Wyona Inc.  -   Open Source Content Management   -   Apache Lenya
http://www.wyona.com              http://cocoon.apache.org/lenya/
michael.wechner@wyona.com                        michi@apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-dev-help@jakarta.apache.org


Mime
View raw message