If you add 10 documents to the index and delete the same 10, is the
number of changes 20 or zero? 

Ravi.

-----Original Message-----
From: Luke Shannon [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, November 16, 2004 10:35 AM
To: Lucene Users List
Subject: Re: IndexSearcher Refresh

Yes it will. Thanks.

----- Original Message -----
From: "Otis Gospodnetic" <[EMAIL PROTECTED]>
To: "Lucene Users List" <[EMAIL PROTECTED]>
Sent: Tuesday, November 16, 2004 10:28 AM
Subject: Re: IndexSearcher Refresh


> This will help:
>
>
http://jakarta.apache.org/lucene/docs/api/org/apache/lucene/index/IndexR
eader.html#getCurrentVersion(org.apache.lucene.store.Directory)
>
> Otis
>
>
> --- Luke Shannon <[EMAIL PROTECTED]> wrote:
>
> > It would nice if the IndexerSearcher contained a method that could
> > return
> > the last modified date of the index folder it was created with.
> >
> > This would make it easier to know when you need to create a new
> > Searcher.
> >
> > ----- Original Message ----- 
> > From: "Otis Gospodnetic" <[EMAIL PROTECTED]>
> > To: "Lucene Users List" <[EMAIL PROTECTED]>
> > Sent: Tuesday, November 16, 2004 8:23 AM
> > Subject: Re: IndexSearcher Refresh
> >
> >
> > > I don't think so, you have to forget or close the old one and
> > create a
> > > new instance.
> > >
> > > Otis
> > >
> > > --- Ravi <[EMAIL PROTECTED]> wrote:
> > >
> > > > Is there a way to refresh the IndexSearcher object with the
newly
> > > > added
> > > > documents to the index instead of creating a new object?
> > > >
> > > > Thanks in advance,
> > > > Ravi.
> > > >
> > > >
> > > >
> >
---------------------------------------------------------------------
> > > > To unsubscribe, e-mail:
> > [EMAIL PROTECTED]
> > > > For additional commands, e-mail:
> > [EMAIL PROTECTED]
> > > >
> > > >
> > >
> > >
> > >
> >
---------------------------------------------------------------------
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail:
> > [EMAIL PROTECTED]
> > >
> > >
> >
> >
> >
> >
---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to