(String... params)
| 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 |