lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Varun Thacker <varunthacker1...@gmail.com>
Subject Re: SegmentCommitInfos and live/deleted files
Date Sun, 11 Jan 2015 22:25:59 GMT
Thanks Robert for pointing out the difference.

On Sun, Jan 11, 2015 at 10:29 PM, Robert Muir <rcmuir@gmail.com> wrote:

> files are either per-segment or per-commit.
>
> the first only returns per-segment files. this means it won't include
> any per-commit files:
> * segments_N itself
> * generational .liv for deletes
> * generational .fnm/.dvd/etc for docvalues updates.
>

Understood. These files belong to a commit and not any segment. I didn't
think of this earlier.

>
> the second includes per-commit files, too. it doesnt include the
> segments_N itself because your code passes 'false' for that.
>
> On Sun, Jan 11, 2015 at 10:49 AM, Varun Thacker
> <varunthacker1989@gmail.com> wrote:
> > I wanted to know whats the difference betwen the two ways that I am
> getting
> > a list of all segment files belonging to a segment?
> >
> > method1 never returns .liv files.
> >
> > https://gist.github.com/vthacker/98065232c3d2da579700
> >
> > --
> >
> >
> > Regards,
> > Varun Thacker
> > http://www.vthacker.in/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
>
>


-- 


Regards,
Varun Thacker
http://www.vthacker.in/

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