On 4/11/06, Marcus Stratmann <[EMAIL PROTECTED]> wrote: > Okay, so "id" seems to be a keyword, rather than a field name.
Yes, I believe the Wiki has an example like this (a uniqueKey field not named "id") > With my next try > <delete><id>113976235</id></delete> > the query worked fine: > <result status="0"></result> > But after a <commit/> I found the number of documents unchanged > in the stats. What stat? maxDoc may be unchanged since it doesn't reflect deleted documents that haven't been squeezed out of the index (it's a lucene thing). numDocs should reflect the deletion. > Furthermore the value of deletesById was 0. > Oddly enough cumulative_deletesById was 1 (what does this value > actually mean?). If you had looked at the stats before doing a <commit/>, deletesById would probably be 1. It gets reset on a <commit/> cumulative stats are never reset. -Yonik