You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by Cheolgoo Kang <ap...@gmail.com> on 2005/10/02 19:49:00 UTC

index version

Hi, Luceners,

I got timestamp from the IndexReader.getCurrentVersion() other than
the number of changes on that index.

Do somebody changed this before?

Here is my test case attached on this issue.

--
Cheolgoo


Re: index version

Posted by Cheolgoo Kang <ap...@gmail.com>.
Thanks, Daniel,

I've missed the changes doc and thanks for pointing it out. :)


On 10/3/05, Daniel Naber <lu...@danielnaber.de> wrote:
> On Sunday 02 October 2005 19:49, Cheolgoo Kang wrote:
>
> > I got timestamp from the IndexReader.getCurrentVersion() other than
> > the number of changes on that index.
>
> See CHANGES.txt:
>
>  6. The version of an IndexReader, as returned by getCurrentVersion()
>     and getVersion() doesn't start at 0 anymore for new indexes. Instead,
>     it is now initialized by the system time in milliseconds.
>
> --
> http://www.danielnaber.de
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-dev-help@lucene.apache.org
>
>


--
Cheolgoo

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


Re: index version

Posted by Daniel Naber <lu...@danielnaber.de>.
On Sunday 02 October 2005 19:49, Cheolgoo Kang wrote:

> I got timestamp from the IndexReader.getCurrentVersion() other than
> the number of changes on that index.

See CHANGES.txt:

 6. The version of an IndexReader, as returned by getCurrentVersion()
    and getVersion() doesn't start at 0 anymore for new indexes. Instead,    
    it is now initialized by the system time in milliseconds.

-- 
http://www.danielnaber.de

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org