public class IndexMerge
extends Object
Modifier and Type | Class and Description |
---|---|
private static class |
IndexMerge.DirInfo |
Constructor and Description |
---|
IndexMerge() |
Modifier and Type | Method and Description |
---|---|
private static void |
doMerge(IndexMerge.DirInfo[] dirInfos,
boolean createTarget)
Merge a bunch of indexes together.
|
static void |
main(String[] args)
Main entry-point for the index merger.
|
private static void |
mergeAux(IndexMerge.DirInfo[] dirInfos) |
private static void |
mergeLazy(File src,
File dst) |
private static void |
mergeLazy(IndexMerge.DirInfo[] dirInfos) |
private static void |
mergeLucene(IndexWriter writer,
IndexMerge.DirInfo[] dirInfos) |
private static void |
mergeSpelling(IndexMerge.DirInfo[] dirInfos) |
private static void |
mergeTokFldFiles(File file1,
File file2) |
private static IndexMerge.DirInfo |
readInfo(String path,
Directory dir) |
public static void main(String[] args)
private static IndexMerge.DirInfo readInfo(String path, Directory dir) throws IOException
IOException
private static void doMerge(IndexMerge.DirInfo[] dirInfos, boolean createTarget) throws InterruptedException, IOException
InterruptedException
IOException
private static void mergeSpelling(IndexMerge.DirInfo[] dirInfos) throws IOException
IOException
private static void mergeAux(IndexMerge.DirInfo[] dirInfos) throws IOException
IOException
private static void mergeTokFldFiles(File file1, File file2) throws IOException
IOException
private static void mergeLazy(IndexMerge.DirInfo[] dirInfos) throws IOException
IOException
private static void mergeLazy(File src, File dst) throws IOException
IOException
private static void mergeLucene(IndexWriter writer, IndexMerge.DirInfo[] dirInfos) throws IOException
IOException