Displaying 1 result from an estimated 1 matches for "import_from_xml".
2006 Nov 02
3
Indexing and searching across multiple locales
...ementing a Stemming Analyzer,
and it is working for English terms just fine. I''ve also written a method to
import data from the legacy XML files and save as ActiveRecord objects
(using AAF). However, I''m not certain the the locale-switching is working
properly:
doc = Document.import_from_xml(filename)
Ferret::locale = doc.locale_id # locale_id is "en.UTF-8" or "fr.UTF-8"
for example
doc.save
What''s the best way to handle the import of data, where locale is changing
from document to document? What other considerations should I keep in mind
when u...