is message in context:
http://www.nabble.com/Deleted-document-terms-tp19157027p19158657.html
Sent from the Lucene - Java Users mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
; other
>>> terms for document.
>>>
>>
>> That make two of us!
>>
>> Mike
>>
>>
>> -
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional comman
Hi John,
Are you sure you made the id "tokenized" while indexing? I could overcome
this issue by having a tokenized field, which was used for the deletion as
below.
document.add(new Field("id", id, Field.Store.YES, *Field.Index.TOKENIZED*));
Thanks
On Tue, Aug 26, 2008 at 2:15 PM, Michael M
John Patterson wrote:
I just discovered some strange behaviour with deleted documents. I
do a
search for documents with a certain query and delete one using
IndexWriter.deleteDocuments(Term) using a key for the term. Then I
repeat
the search and the document is still there because I use
the id was removed but not the other
terms for document.
But I guess this makes sense and I just need to check
IndexReader.isDeleted()
Does this all sound like correct behaviour?
Thanks,
John
--
View this message in context:
http://www.nabble.com/Deleted-document-terms-tp19157027p19157027.html