Of couse, I don't want a copy of the merged index on another disk. I want the merged index is written in another disk directly and don't need to copy it again.
The purpose in doing so is just for less disk operation and disk r-w operation separately. 2012/12/20 Ian Lea <ian....@gmail.com> > So you want a copy of the merged index on another disk? You could > just copy it, before or after the merge, your choice. Or create the > new index with an IndexWriter and call one of the addIndexes() > methods. From the javadocs they sound to have different merge > effects. Try it out and see what happens. > > > -- > Ian. > > > On Thu, Dec 20, 2012 at 1:24 AM, Hu Jing <huj....@gmail.com> wrote: > > Now, i have a index library with 100 segments. > > Using forcemerge function can merge all segments into a segment. > > But I also want the newly generated index library which is written in > > another disk. > > Doing this just for Reading and writing disk separately. > > How to implement this? > > Thanks very much. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org > For additional commands, e-mail: java-user-h...@lucene.apache.org > >