lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Doron Cohen" <cdor...@gmail.com>
Subject Re: [jira] Commented: (LUCENE-1232) Use segments generation instead of version
Date Fri, 14 Mar 2008 20:15:30 GMT
ok...

On Fri, Mar 14, 2008 at 10:00 PM, Michael McCandless (JIRA) <jira@apache.org>
wrote:

>
>    [
> https://issues.apache.org/jira/browse/LUCENE-1232?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12578912#action_12578912]
>
> Michael McCandless commented on LUCENE-1232:
> --------------------------------------------
>
> That's a good point; because version seeds with System.currentTimeMillis()
> it increases even when you create a new index.
>
> OK I think we should just leave version as is for now.
>
> > Use segments generation instead of version
> > ------------------------------------------
> >
> >                 Key: LUCENE-1232
> >                 URL: https://issues.apache.org/jira/browse/LUCENE-1232
> >             Project: Lucene - Java
> >          Issue Type: Improvement
> >          Components: Index
> >    Affects Versions: 2.1, 2.2, 2.3, 2.3.1
> >            Reporter: Michael McCandless
> >            Assignee: Michael McCandless
> >            Priority: Minor
> >             Fix For: 2.4
> >
> >         Attachments: check.version.vs.gen.diff, LUCENE-1232.dc.patch,
> LUCENE-1232.patch
> >
> >
> > Right now the segments file stores generation, a long starting with 0
> > that increments by 1 with each commit, and version, a long starting
> > with System.currentTimeMillis() that also increments by 1 with each
> > commit.
> > I think they are redundant so we can replace all methods/uses of
> > version with generation instead.
> > Spinoff from LUCENE-1228.
>
> --
> This message is automatically generated by JIRA.
> -
> You can reply to this email to add a comment to the issue online.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-dev-help@lucene.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message