Re: Removing document from index

2006-06-28 Thread Aleksander M. Stensby
My bet is that after updating /appending to an index, the searcher object used also need to be updated, so that it will work agains the new snapshot of the index. See http://wiki.apache.org/jakarta-lucene/UpdatingAnIndex 1. keep a single open IndexReader used by all searches 2. Every few mi

Removing document from index

2006-06-28 Thread Leandro Saad
Hi all. I can remove a documents from the index using IndexReader.delete (Term) but the search still returns this document. What am I doing wrong? -- Leandro Rodrigo Saad Cruz CTO - InterBusiness Technologies db.apache.org/ojb guara-framework.sf.net xingu.sf.net