Displaying 1 result from an estimated 1 matches for "create_ferret_index".
2006 Sep 25
0
Odd indexing issue
...rebuild. This happens
on 2 different machines, each Debian sarge. Below is a little console
script with output showing the oddness.
The relevant model code is at the bottom of this post, please let me
know if there''s anything else I can supply.
Sam
--------ruby script/console
Entry.create_ferret_index
index = Ferret::Index::Index.new(FerretConfig::INDEXOPTIONS)
# an arbitrary query to return all results from index
index.search_each("*", {:limit => 6000}) do |doc, score|
if docindex !~ /^\d*$/ then # show me ids that aren''t numeric
p doc.to_s + " " + docindex =...