Class JsonNodesComparator

java.lang.Object
io.jmix.search.index.impl.JsonNodesComparator

@Component("search_JsonNodesComparator") public class JsonNodesComparator extends Object
Compares two JSON nodes that contains index settings or index mapping in correspondence to such comparison rules. The 'container node' must contain all content of the 'content node'. But the 'content node' can contain some extra tags.
  • Constructor Details

    • JsonNodesComparator

      public JsonNodesComparator()
  • Method Details

    • nodeContains

      public boolean nodeContains(com.fasterxml.jackson.databind.node.ObjectNode containerNode, com.fasterxml.jackson.databind.node.ObjectNode contentNode)