toro04
1
Is there anything about this analyzer that says “case-sensitive” to you?
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
toro04
2
On Tue, Mar 06, 2007 at 06:48:08AM +0100, Adam T. 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
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