MCPcopy Create free account
hub / github.com/apache/solr / get

Method get

solr/core/src/java/org/apache/solr/core/SolrConfig.java:1102–1108  ·  view source on GitHub ↗

fetches a child node by name. An "empty node" is returned if the child does not exist This never returns a null

(String name)

Source from the content-addressed store, hash-verified

1100 /**
1101 * fetches a child node by name. An "empty node" is returned if the child does not exist This
1102 * never returns a null
1103 */
1104 public ConfigNode get(String name) {
1105 if (!overlay.hasKey(name)) {
1106 // there is no overlay
1107 return root.get(name);
1108 }
1109 return new OverlaidConfigNode(overlay, name, null, root.get(name));
1110 }
1111

Callers 5

testIndexAndSearchMethod · 0.95
testMethod · 0.95
SolrConfigMethod · 0.95
loadUpdatehandlerInfoMethod · 0.95

Calls 2

hasKeyMethod · 0.80
getMethod · 0.65

Tested by 3

testIndexAndSearchMethod · 0.76
testMethod · 0.76