logo       
Google Custom Search
    AddThis Social Bookmark Button
-->

how to delete a document: msg#00019

Subject: how to delete a document
Hello,

Could anyone help me with "deleting a document". Here is what I could find in
t/testindexwriter.t example: $READER->delete($doc_id) must do it with $READER
being a Plucene::Index::Reader object. However, when I do that, then
the next search
would result into:

Use of uninitialized value in addition (+) at
/prod/vpn/lib/perl5/cpan/Plucene/Search/Similarity.pm line 61.
Can't take log of 0 at
/prod/vpn/lib/perl5/cpan/Plucene/Search/Similarity.pm line 61.

What am I doing wrong? So, the short question is:

How can I delete a document based on its id?

-- 
Ramin


<Prev in Thread] Current Thread [Next in Thread>