lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erik Hatcher <e...@ehatchersolutions.com>
Subject Re: REPLACE USING ANALYZERS
Date Wed, 02 Feb 2005 10:19:50 GMT

On Feb 2, 2005, at 4:12 AM, Karthik N S wrote:

> Hi Guys
>
> Apologies.........
>
> I am would like to know if Any Analyzers out there  which can give me 
> the required o/p as shown below

Sure:

	string.replaceAll("~","")

:)

>
> 1)
>
> I/p   =  "+~shoes  -~nike"    
>
>  O/p  =  "+shoes  -nike"
>
>  
>
> 2)
>
> I/p    = +(+"~shoes -~nike")
>
> O/p   = +(+"shoes -nike")
>
>  
>
> 3)
>
> I/p   =  +~shoes -~nike
>
> O/p  =  +shoes  -nike
>
>  
>
> [ Note:- I  am Using the Javascript tool avaliable from Lucene 
> Contributers Site to build Advance Search with synonym factor ]
>
>  
>
> Thx in advance
>
> <image.tiff>
> WITH WARM REGARDS
>  HAVE A NICE DAY
> [ N.S.KARTHIK]


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


Mime
View raw message