Java Mailing List Archive

http://www.java2.5341.com/

Home » java-user.lucene »

Doing the lucene remove character \n (break line)

farnetani

2008-11-23

Replies: Find Java Web Hosting

Author LoginPost Reply

I need to do lucene find the sentence:
ARLEI FERREIRA FARNETANI JUNIOR  
[arlei] [ferreira] [farnetani] [junior]   (1)

and too:

ARLEI FERREIRA FAR-  <break line>
NETANI JUNIOR

I'm using the Brazilian Analyzer, but the result is:
[ARLEI] [FERREIRA] [FAR] [NETANI] [JUNIOR]

I have to do that the lucene result:
[ARLEI] [FERREIRA] [FARNETANI] [JUNIOR] equals the sentence (1)

So I have to do that lucene remove "-" hyphen and the break line (\n).

To remove character hyphen (-) I got, but remove the break line no!

How do I do???
--
Sent from the Lucene - Java Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@(protected)
For additional commands, e-mail: java-user-help@(protected)

©2008 java2.5341.com - Jax Systems, LLC, U.S.A.