lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ype Kingma <ykin...@xs4all.nl>
Subject Re: how to update index
Date Tue, 02 Apr 2002 19:03:06 GMT
Parag,

>
>I have checked on jguru and found some helpful links.
>Now if I want to delete then I have to use method as
>"IndexReader.delete(Term)".
>But my question is before deleting the index I have to add the document to
>the index and then I will delete the index.
>but can please anybody will show me the way how to add the document using
>Term(I have saw the APIs but still not clear about it).

One would normally use the primary key field and value to create this term,
ie. the field that contains a value that uniquely identifies the
document in your index.

<snip>

Regards,
Ype

-- 

--
To unsubscribe, e-mail:   <mailto:lucene-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:lucene-user-help@jakarta.apache.org>


Mime
View raw message