lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Parag Dharmadhikari" <pa...@bsil.com>
Subject Re: how to update index
Date Tue, 02 Apr 2002 08:57:00 GMT
Thanks For reply

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

regards
Parag

----- Original Message -----
From: "Otis Gospodnetic" <otis_gospodnetic@yahoo.com>
To: "Lucene Users List" <lucene-user@jakarta.apache.org>
Sent: Tuesday, April 02, 2002 10:51 AM
Subject: Re: how to update index


> First delete, then re-add.  There must be a FAQ entry for this at
> jGuru.  Have you checked there?
>
> Otis
>
> --- Parag Dharmadhikari <parag@bsil.com> wrote:
> > Hi all,
> >
> > As I know there is no direct method for updating the index, so I have
> > to delete the index first and then add the new entries in the index.I
> > tried to find my answer in  the mailing list but could not found my
> > answer.
> > Now If I want to do above procedure then how exactly should I go? Is
> > there any other way of updatng the index?
> >
> > regards
> > Parag
> >
> >
>
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Tax Center - online filing with TurboTax
> http://http://taxes.yahoo.com/
>
> --
> To unsubscribe, e-mail:
<mailto:lucene-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
<mailto:lucene-user-help@jakarta.apache.org>
>


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