Thanks Robert for pointing out the difference.

On Sun, Jan 11, 2015 at 10:29 PM, Robert Muir <[email protected]> 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
> <[email protected]> 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: [email protected]
> For additional commands, e-mail: [email protected]
>
>


-- 


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

Reply via email to