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’t find a way to remove them. So could you guys help to give a resolution to remove old segments after customer’s merging?
Your any feedback is very appreciated! thanks Leo