IndexReader.delete(int docNum) or IndexReader.delete(Term term)
2006/4/1, Don Vaillancourt <[EMAIL PROTECTED]>:
>
> Hi All,
>
> I need to implement the ability to update one document within a Lucene
> collection.
>
> I haven't been able to find anything in the API. Is there a way to
> update one
When doing this use a filter to restrict the query results to just those
for a users company. This will not affect the ranking then.
Mike
www.ardentia.com the home of NetSearch
-Original Message-
From: Mufaddal Khumri [mailto:[EMAIL PROTECTED]
Sent: 31 March 2006 20:33
To: java-user@luce
Hi again
I guess I'll have to rephrase the question.
Is it ok to store a document number returned by TermDocs.doc() during
one IndexWriter.addDocument() and then performing a IndexReader.delete()
using that document number?
Sindri
> -Original Message-
> From: Sindri Traustason [mailto:[