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>
|