lucene-lucene-net-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Garski <mgar...@mac.com>
Subject Re: strange DeleteDocuments behavior
Date Thu, 12 Apr 2007 02:54:54 GMT
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
>


Mime
View raw message