lucenenet-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Max Metral" <...@artsalliancelabs.com>
Subject RE: strange DeleteDocuments behavior
Date Thu, 12 Apr 2007 02:57:24 GMT
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:mgarski@mac.com] 
Sent: Wednesday, April 11, 2007 10:55 PM
To: lucene-net-dev@incubator.apache.org
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
>


Mime
View raw message