On 3/19/07, Star Burger <[EMAIL PROTECTED]> wrote: > I've installed ferret 0.10.9 together with the latest acts_as_ferret > using Windows XP and indexed a location database (geonames.org) with > Location.rebuild_index. The data is in utf-8. > > Now calling Location.find_by_contents "ö" does not return a result, > causes a lot of CPU load, and finally exits with an error "index.rb:702: > in 'parse': failed to allocate memory (NoMemoryError)". Seems a problem > in 'process_query'. > > Similar results for sometimes for other German Umlauts...
Unfortunately Ferret doesn't come with UTF-8 support in Windows as the win32 runtime environment doesn't seem to support UTF-8. You will therefore need to write your own analyzer on Windows if you want to support UTF-8 searches. Hopefully the NoMemoryError will be fixed in the next win32 gem I release. -- Dave Balmain http://www.davebalmain.com/ _______________________________________________ Ferret-talk mailing list [email protected] http://rubyforge.org/mailman/listinfo/ferret-talk

