lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From farnetani <farnet...@gmail.com>
Subject Doing the lucene remove character \n (break line)
Date Sun, 23 Nov 2008 21:40:18 GMT

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???
-- 
View this message in context: http://www.nabble.com/Doing-the-lucene-remove-character-%5Cn-%28break-line%29-tp20650540p20650540.html
Sent from the Lucene - Java Users mailing list archive at Nabble.com.


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


Mime
View raw message