Hi,

Using acts_as_ferret with rails 2.1, I encounter some strange behaviour in reindexing all records from my model. Some seem to be ignored. The log generated by reindexing misses some values; but no error is printed about parsing these strings.

I was alerted by some results missing. I then experimented with sql search (postgresql).
For a single word, the sql search
MyModel.find(:all, :conditions => ['entry ILIKE ?', "[EMAIL PROTECTED] %"], :limit => 50)
gives always more results than
MyModel.find_with_ferret(@query, {:limit => 50})

How could I do to identify why some values are not indexed ?
Is there a debug log level ?
Is this an already known issue ?


  config.gem 'ferret', :version => '0.11.6'
  config.gem 'acts_as_ferret', :version => '0.4.3'

In my model I have
acts_as_ferret :fields => {:entry => {:store => :yes}}, :default_field => :entry, :remote => false

Jean-Christophe Michel
[EMAIL PROTECTED]
_______________________________________________
Ferret-talk mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/ferret-talk

Reply via email to