I'm getting the following error trying to set the field_infos for an  
IndexWriter:

Ferret::Index is not missing constant FieldInfos! (ArgumentError)

here's the code:

         @index_writer = Ferret::Index::IndexWriter.new(
                           :path     => my_path,
                           :create   => true,
                           :analyzer =>  
Ferret::Analysis::StandardAnalyzer.new,
                           :merge_count => 2,
                           :field_infos =>  
Ferret::Index::FieldInfos.load(IO.read(FIELD_INFO_FILE)))

I'm not sure what is causing the error. Any thoughts?
_______________________________________________
Ferret-talk mailing list
[EMAIL PROTECTED]
http://rubyforge.org/mailman/listinfo/ferret-talk

Reply via email to