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 Tomas Mikenda <tm...@email.cz> on 2003/06/24 17:47:32 UTC

Word separators

Hi,

Is it somehow possible to force '/' and '-' as an word separator? When I have indexed word "Cologne/Bonn Airport" then "Cologne/Bonn" is treated as an single word.

Thanx a lot,
Thomas


________________________________________________________________________________
Aktuálně: Digitální foťáky a kamery za akční ceny v termínu od 16. do 25.6. na http://www.email.cz/obchodnidum


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


Re: Word separators

Posted by Otis Gospodnetic <ot...@yahoo.com>.
Yes, you'll need to write your own tokenizer.

Otis

--- Tomas Mikenda <tm...@email.cz> wrote:
> Hi,
> 
> Is it somehow possible to force '/' and '-' as an word separator?
> When I have indexed word "Cologne/Bonn Airport" then "Cologne/Bonn"
> is treated as an single word.
> 
> Thanx a lot,
> Thomas
> 
> 
>
________________________________________________________________________________
> Aktu�ln�: Digit�ln� fo��ky a kamery za ak�n� ceny v term�nu od 16. do
> 25.6. na http://www.email.cz/obchodnidum
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: lucene-user-help@jakarta.apache.org
> 


__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com

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