search for: docindex

Displaying 1 result from an estimated 1 matches for "docindex".

Did you mean: dcindex
2006 Sep 25
0
Odd indexing issue
...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 = index[doc][:id] end end ----------- OUTPUT FROM THE ABOVE 1st TIME "542 \2102\032" "2294 0\3075\010" "4186 \250* \010" OUTPUT FROM THE ABOVE 2nd TIME "1762 \260\...