Class IndexMerge

java.lang.Object
org.apache.jackrabbit.oak.index.merge.IndexMerge

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

  • Constructor Details

    • IndexMerge

      public IndexMerge()
  • Method Details

    • main

      public static void main(String... args) throws Exception
      Throws:
      Exception
    • 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