Re: Index missing documents

2006-02-22 Thread Michael van Rooyen
t; the indexes in the segments file, or is there some way of flushing the segments file every so often to ensure that it's list is up to date? Thanks again for your assistance. Michael. - Original Message - From: "Otis Gospodnetic" <[EMAIL PROTECTED]> To: Se

Re: Index missing documents

2006-02-20 Thread Otis Gospodnetic
ocess will be slower. Otis - Original Message From: Michael van Rooyen <[EMAIL PROTECTED]> To: java-user@lucene.apache.org; Otis Gospodnetic <[EMAIL PROTECTED]> Sent: Monday, February 20, 2006 3:20:22 AM Subject: Re: Index missing documents Thanks Otis. All the documents

Re: Index missing documents

2006-02-20 Thread Michael van Rooyen
Thanks Otis. All the documents were written in a using the same IndexWriter, without ever closing it. Is this what could be responsible for the documents not being in the segmens file, or is this bad practice? Maybe I should use a writer for a batch of documents (1000 or so maybe?), and then

Re: Index missing documents

2006-02-19 Thread Otis Gospodnetic
It is possible that your Documents were added to various index files, but those were not yet "registered" in the "segments" file. Lucene knows only about index segments that are listed in segments file. Any other files in the index directories are ignored. Also, some Documents are kept in mem