You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@lucene.apache.org by Strubbl <na...@linux4tw.de> on 2009/08/17 10:32:28 UTC

filter special chars

hi, is there any way to filter special chars like this one: "Ø" out of my
fields I want to index?
until now I tested it with the StopFilter("Ø"). But it doesn't work. When I
search the index with Luke for this symbol I still get results.

Can anyone help please?
-- 
View this message in context: http://www.nabble.com/filter-special-chars-tp25003017p25003017.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


Re: filter special chars

Posted by Strubbl <na...@linux4tw.de>.
YES, you're right. thank you very much! :)


Simon Willnauer wrote:
> 
> hey there,
> 
> did you try to pass it lower-cased "ø" I guess you have a
> LowerCaseFilter / Tokeninzer in you analysis chain.
> 
> simon
> 
> On Mon, Aug 17, 2009 at 10:32 AM, Strubbl<na...@linux4tw.de> wrote:
>>
>> hi, is there any way to filter special chars like this one: "Ø" out of my
>> fields I want to index?
>> until now I tested it with the StopFilter("Ø"). But it doesn't work. When
>> I
>> search the index with Luke for this symbol I still get results.
>>
>> Can anyone help please?
>> --
>> View this message in context:
>> http://www.nabble.com/filter-special-chars-tp25003017p25003017.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
>>
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/filter-special-chars-tp25003017p25003341.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


Re: filter special chars

Posted by Simon Willnauer <si...@googlemail.com>.
hey there,

did you try to pass it lower-cased "ø" I guess you have a
LowerCaseFilter / Tokeninzer in you analysis chain.

simon

On Mon, Aug 17, 2009 at 10:32 AM, Strubbl<na...@linux4tw.de> wrote:
>
> hi, is there any way to filter special chars like this one: "Ø" out of my
> fields I want to index?
> until now I tested it with the StopFilter("Ø"). But it doesn't work. When I
> search the index with Luke for this symbol I still get results.
>
> Can anyone help please?
> --
> View this message in context: http://www.nabble.com/filter-special-chars-tp25003017p25003017.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
>
>

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