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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to