Package org.apache.lucene.facet.taxonomy
Class TaxonomyMergeUtils
java.lang.Object
org.apache.lucene.facet.taxonomy.TaxonomyMergeUtils
Utility methods for merging index and taxonomy directories.
- WARNING: This API is experimental and might change in incompatible ways in the next release.
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
merge
(Directory srcIndexDir, Directory srcTaxoDir, DirectoryTaxonomyWriter.OrdinalMap map, IndexWriter destIndexWriter, DirectoryTaxonomyWriter destTaxoWriter, FacetsConfig srcConfig) Merges the given taxonomy and index directories and commits the changes to the given writers.
-
Method Details
-
merge
public static void merge(Directory srcIndexDir, Directory srcTaxoDir, DirectoryTaxonomyWriter.OrdinalMap map, IndexWriter destIndexWriter, DirectoryTaxonomyWriter destTaxoWriter, FacetsConfig srcConfig) throws IOException Merges the given taxonomy and index directories and commits the changes to the given writers.- Throws:
IOException
-