Class IndexMerge


  • public class IndexMerge
    extends Object
    Merge custom index definitions with out-of-the-box index definitions.
    • Constructor Detail

      • IndexMerge

        public IndexMerge()
    • Method Detail

      • execute

        public void execute​(String... args)
                     throws Exception
        Execute the command.
        Parameters:
        args - the command line arguments
        Throws:
        Exception
      • getSupersededIndexDefs

        public static Set<String> getSupersededIndexDefs​(JsonObject indexDefs)
        Get the names of the index definitions that are superseded in one of the indexes.
        Parameters:
        indexDefs - all index definitions
        Returns:
        the superseded indexes