Displaying 1 result from an estimated 1 matches for "ignored_field_name".
2007 Aug 03
0
StandardTokenizer Doesn''t Support token_stream method
...n.com/api/classes/Ferret/Analysis/Analyzer.html
http://ferret.davebalmain.com/api/classes/Ferret/Analysis/StandardTokenizer.html
I ought to be able to construct a StandardTokenizer like this:
t = StandardTokenizer.new( true) # true to downcase tokens
and then later:
stream = token_stream( ignored_field_name, some_string)
To create a new TokenStream from some_string. This approach would be
valuable for my application since I am analyzing many short strings --
so I''m thinking that building my 5-deep analyzer chain for each small
string will be a nice savings.
Unfortunately, StandardTokenizer#...