Scott Smith wrote:
Any other solutions or comments?
Use a different IndexReader for searching than you use for deletions?
Doug
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
("The document you are looking for no
longer exists in the system") to the user.
Any other solutions or comments?
-Original Message-
From: Otis Gospodnetic [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 28, 2005 8:47 PM
To: java-user@lucene.apache.org
Subj
Let's see:
import org.apache.lucene.search.*;
import org.apache.lucene.index.*;
import org.apache.lucene.analysis.SimpleAnalyzer;
import org.apache.lucene.document.Document;
import org.apache.lucene.document.Field;
public class HitDocDeleteTest {
static String indexDir = "/tmp/hddt";
st
Suppose I do a search and get a hit list. Before I access the hit list,
my delete routine (running in another thread) comes along and deletes
some documents. What happens if I now try to access documents that have
been deleted?
Scott