lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marie-Hélène Forget <>
Subject IndexReader.delete(int docNum)
Date Thu, 22 May 2003 14:49:17 GMT

I am trying to write a delete method using delete(int docNum) from the
IndexReader class. The problem is that I don't know how to get the
docNum parameter. Can you please help me.

My idea was to perform a search and to delete the documents found. Is
that possible or is there another way around ?

PS: I tried to use delete(Term term), but it did not work. The document
was not deleted.

Thanks for your help:)


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message