search for: howtousekeysfordocument

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

2006 Jan 27
3
Using ID as Key
Hi, I followed the howto to use keys for documents: http://ferret.davebalmain.com/trac/wiki/HowTos#Howtousekeysfordocument If I add two documents with the same id, only one gets added to the index as expected. However, I have found the key and id do not match. So, attempting to access the index with the id does not work. For instance, when I run this search: INDEX.search_each(query) do |doc, score| logge...