Hi David,

> Deleted documents don't get deleted until commit is called

Ok, but FYI, my experiments show that #commit doesn't affect #doc_count,
even across ruby sessions.

On a different note, I'd like to request a variation of #add_document
which returns the doc_id of the document added, as opposed to self.

I'm trying to track down an issue with a large test index [600MB, 500k
docs] in which I need to update a document. The old document is deleted
then added again, but doesn't show up in my searches.

A #doc_count on the writer before and after #add_document shows that the
index is 1 document larger, but I still cant #search for the updated
doc.

What do you think about having #add_document "yield" the doc_id if
block_given? 

Neville
_______________________________________________
Ferret-talk mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/ferret-talk

Reply via email to