[prev in list] [next in list] [prev in thread] [next in thread] 

List:       lucene-user
Subject:    RE: Tokenizing text custom way
From:       "MOYSE Gilles (Cetelem)" <gilles.moyse () cetelem ! fr>
Date:       2003-11-26 12:18:10
[Download RAW message or body]


Do you want to define expressions, i.e. a set of terms that must be
intpreted as a whole ?
For instance, when the Analyzer catchs "time" followed by "out" it =
returns
"time_out" ?


-----Message d'origine-----
De : Dragan Jotanovic [mailto:Dragan.Jotanovic@diosphere.com]
Envoy=E9 : mercredi 26 novembre 2003 12:12
=C0 : Lucene Users List
Objet : Re: Tokenizing text custom way


> You will need to write a custom analyzer.  Don't worry, though.... =
it's
> quite straightforward.  You will also need to write a Tokenizer, but
> Lucene helps you a lot here.

Wouldn't I achieve the same result if I index "time out" like =
"time_out",
using StandardAnalyzer and later if I search for "time out" (inside =
quotes)
I should get proper result, but if I search for "time" I shouldn't get
result. Is this right?




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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic