-1, -1);
> infos.add(commit);
> infos.commit(directory);
> }
> }
>
>
> Regards,
>
> Khanh-Lam Mai
>
>
>
>
> De :Michael McCandless
> A : Lucene Users , khanh-lam@bnf.fr
> Date : 10/02/2016 10:17
> Objet
fos.commit(directory);
}
}
Regards,
Khanh-Lam Mai
De :Michael McCandless
A : Lucene Users , khanh-lam@bnf.fr
Date : 10/02/2016 10:17
Objet : Re: Generate Lucene segments_N file
It'd be a challenge, but it is possible. It's just software ;)
You need something like this to rea
It'd be a challenge, but it is possible. It's just software ;)
You need something like this to read a SegmentInfo from your sole .si
file, assuming you are on a recent 5.x release:
SegmentInfo info = codec.segmentInfoFormat().read(directory,
segName, segmentID, IOContext.READ);
To get codec,
Hello,
First, I don't know if it's the right mailing list to ask for your help,
if no please accept my apologies for the inconvenience.
While moving Lucene (5.3) index files from a server to an other, I forgot
to move the segments_N file (because I use the pattern *.*)
Unfortunately I've erase