Forum: Ferret using tokenizers ?

Posted by Amazouz Loui (lyes)
on 2008-09-28 12:20
(Received via mailing list)
Hi lis

I using Ferret to index some files for a specific usage.

I want to know how can I set a tokenizer for some of my index fields and 
if
I can choose a different tokenizer for each field. For example:

If in my document I have two fields :F1 and :F2. What I have to do if I 
want
that the field :F1 will be tokenized with a StandardTokenizer and :F2 
with
the WhiteSpaceTokenizer??

thank you
Posted by Jens Krämer (Guest)
on 2008-10-01 21:55
(Received via mailing list)
Hi!

have a look at the PerFieldAnalyzer:
http://ferret.davebalmain.com/api/classes/Ferret/A...

cheers,
Jens


On 28.09.2008, at 12:20, Lyes Amazouz wrote:

>
> http://rubyforge.org/mailman/listinfo/ferret-talk
--
Jens Krämer
webit! Gesellschaft für neue Medien mbH
Schnorrstraße 76 | 01069 Dresden
Telefon +49351467660 | Telefax +493514676666
kraemer@webit.de | www.webit.de

Amtsgericht Dresden | HRB 15422
GF Sven Haubold
Posted by Amazouz Loui (lyes)
on 2008-10-02 11:58
(Received via mailing list)
Ok thank you, it was what I looked for
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.