Re: Question about delete

2007-05-10 Thread Chris Hostetter
: Closing an IndexReader only flushes the list of deleted docids to the : index... it doesn't actually delete them. Deletions only happen when : the deleted docs segment is involved in a merge, or when an optimize : is done (which is a merge of all segments). just to clarify slightly because "de

Re: Question about delete

2007-05-10 Thread James liu
get it. thks yonik. 2007/5/10, Yonik Seeley <[EMAIL PROTECTED]>: On 5/10/07, Ajanta Phatak <[EMAIL PROTECTED]> wrote: > I believe in lucene at least deleting documents only marks them for > deletion. The actual delete happens only after closing the IndexReader. > Not sure about Solr Closing an

Re: Question about delete

2007-05-10 Thread Yonik Seeley
On 5/10/07, Ajanta Phatak <[EMAIL PROTECTED]> wrote: I believe in lucene at least deleting documents only marks them for deletion. The actual delete happens only after closing the IndexReader. Not sure about Solr Closing an IndexReader only flushes the list of deleted docids to the index... it

Re: Question about delete

2007-05-10 Thread Ajanta Phatak
I believe in lucene at least deleting documents only marks them for deletion. The actual delete happens only after closing the IndexReader. Not sure about Solr Ajanta. James liu wrote: but index file size not changed and maxDoc not changed. > 2007/5/10, Nick Jenkin <[EMAIL PROTECTED]>:

Re: Question about delete

2007-05-10 Thread James liu
but index file size not changed and maxDoc not changed. > 2007/5/10, Nick Jenkin <[EMAIL PROTECTED]>: Hi James, As I understand it numDocs is the number of documents in your index, maxDoc is the most documents you have ever had in your index. You currently have no documents in your index by

Re: Question about delete

2007-05-10 Thread Nick Jenkin
Hi James, As I understand it numDocs is the number of documents in your index, maxDoc is the most documents you have ever had in your index. You currently have no documents in your index by the looks, thus your delete query must of deleted everything. That would be why you are getting no results.