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
|