a topic of deleting the specified segments

"work.gmail" <[email protected]> Wed, 11 Oct 2017 10:41:04 -0700
Newsgroups gmane.comp.jakarta.lucene.user,gmane.comp.java.wicket.devel,gmane.text.xml.general
Message-ID <[email protected]>
--Apple-Mail=_C7B98664-E83C-4583-8E7B-B31300C3E4CC
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=utf-8

Hey all

My team met a special Lucene problem right now, and we did not find an =
efficient way to solve it by far. So I come here to ask Lucene experts.
Our problem background is:
We have one index folder, it includes 3 segments (_1.si <http://1.si/>, =
_2.si <http://2.si/>, _3.si <http://3.si/>), and we try to merge (_2.si =
<http://2.si/> and _3.si <http://3.si/>) into one single segment (_4.si =
<http://4.si/>), and remove old (_2.si <http://2.si/> and _3.si =
<http://3.si/>). so finally we only have two segments (_1.si =
<http://1.si/> and _4.si <http://4.si/>), we are trying to use merge =
policy to merge the (_2.si <http://2.si/> and _3.si <http://3.si/>), we =
got (_4.si <http://4.si/>), but (_2.si <http://2.si/> and _3.si =
<http://3.si/>) are still there, we don=E2=80=99t find a way to remove =
them.
So could you guys help to give a resolution to remove old segments after =
customer=E2=80=99s merging?

Your any feedback is very appreciated!

thanks
Leo=

--Apple-Mail=_C7B98664-E83C-4583-8E7B-B31300C3E4CC--