I am trying to get Ferret’s C indexer to work on OpenSUSE 10 and
Indexing documents appears to work correctly but when I try to display
the results I recieve the following error:
ActionView::TemplateError (undefined method `string_value’ for
on line #17 of app/views/search/results.rhtml:
14: <%= render :partial => ‘basic’ %>
16: <% for result in @results
17: text = “” + result.field(‘title’).string_value
18: text += "Posted by " +
result.field(‘created_by’).string_value + " at " +
result.field(‘created_on’).string_value + " "
19: if !result.field(‘body’).nil?
20: description = strip_tags(result.field(‘body’).string_value)
It appears as if the indexer is not storing the actual field strings.
Data for the index is being pulled from a MySQL database and then put
If I delete the ferret_ext.so library file and rebuild the index using
the pure Ruby indexer everything works perfectly so I am certain this is
an issue with the C indexer.
I have tried the gem file and compiling from source from svn (rev 325)
and both produce the same error.
Does anyone have any ideas?