search for: ferrethelper

Displaying 3 results from an estimated 3 matches for "ferrethelper".

2006 Apr 13
1
FerretHelper module and Ferret Finder utility
Hi I''ve written ferret_helper.rb (FerretHelper module) containing wrapper methods for converting PDF, HTML, Open Document and Microsoft Word files to plain text for the Ferret index analysers. To help test it I wrote a simple ff.rb (Ferret Finder) command-line utility to index and search document files. You can download the code at http://...
2007 May 16
0
How we got rid of a bus error when using acts_as_ferret
...ing list threads that described the same situation, but didn''t come with any solution. Then we tried to zero in, first by removing the :analyzer part, and the bus error was gone. We started to suspect the analyzer that we were using: :analyzer => Ferret::Analysis::RegExpAnalyzer.new(FerretHelper::GENERIC_ANALYSIS_REGEX, true) Where GENERIC_ANALYSIS_REGEX is /([a-zA-Z]|[\xc0-\xdf][\x80-\xbf])+|[0-9]+|[\xe0-\xef][\x80-\xbf][\x80-\xbf]/ This is used, a la Jcode, to tokenize both European-language words, numbers, and CJV chars. Interestingly, we started to suspect if Mongrel''s d...
2008 Jan 09
5
Parallel indexing doesn''t work?
Hi, I''m trying to get parallelized ferret indexing working for my AAF indices, based on the example in the O''Reilly Ferret shortcut. However, the resulting indices after merging seem to have no actual documents. I went and made minimal changes to the example in the Ferret shortcut pdf, and indeed can''t get that to work either. I''d appreciate any help