On Tue, Mar 06, 2007 at 06:48:08AM +0100, Adam Thorsen wrote:
> Is there anything about this analyzer that says "case-sensitive" to you?

yep :-) There's no LowerCaseFilter involved.

StemFilter.new(LowerCaseFilter.new(StandardTokenizer.new(text)))

should do the trick.

Jens

> 
> 
> module Ferret::Analysis
>   class StemmingAnalyzer
>     def token_stream(field, text)
>       StemFilter.new(StandardTokenizer.new(text))
>     end
>   end
> end
> 
> 
> Just wondering how I can force my index to be case-insensitive.
> 
> Thanks,
> -Adam
> 
> -- 
> Posted via http://www.ruby-forum.com/.
> _______________________________________________
> Ferret-talk mailing list
> [email protected]
> http://rubyforge.org/mailman/listinfo/ferret-talk
> 

-- 
Jens Krämer
webit! Gesellschaft für neue Medien mbH
Schnorrstraße 76 | 01069 Dresden
Telefon +49 351 46766-0 | Telefax +49 351 46766-66
[EMAIL PROTECTED] | www.webit.de
 
Amtsgericht Dresden | HRB 15422
GF Sven Haubold, Hagen Malessa
_______________________________________________
Ferret-talk mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/ferret-talk

Reply via email to