It's an integer (.ToString()) that identifies the "group" that the doc is in. I'm trying to delete the whole group.
-----Original Message----- From: Michael Garski [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 11, 2007 10:55 PM To: [email protected] Subject: Re: strange DeleteDocuments behavior It looks like you are not tokenizing the field when it is indexed, which could be the issue with the delete. What is the value of the variable 'value'? Michael On Apr 11, 2007, at 7:49 PM, Max Metral wrote: > I have an index that has multiple documents with a given term. I > call > DeleteDocuments(new Term("FieldName", value)), but it seems to only > delete one document. Is this by design? A bug? > > > > I add the field to the document like so: > > d.Add(new Field("FieldName", value, Field.Store.YES, > Field.Index.UN_TOKENIZED)); > > > > --Max >
