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


Reply via email to