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

Method params

solr/core/src/java/org/apache/solr/cli/StreamTool.java:331–338  ·  view source on GitHub ↗
(String... params)

Source from the content-addressed store, hash-verified

329 }
330
331 private static ModifiableSolrParams params(String... params) {
332 if (params.length % 2 != 0) throw new RuntimeException("Params length should be even");
333 ModifiableSolrParams msp = new ModifiableSolrParams();
334 for (int i = 0; i < params.length; i += 2) {
335 msp.add(params[i], params[i + 1]);
336 }
337 return msp;
338 }
339
340 public static class StandardInStream extends TupleStream implements Expressible {
341

Callers 1

doRemoteModeMethod · 0.95

Calls 1

addMethod · 0.95

Tested by

no test coverage detected