public static class SchemaRequest.MultiUpdate extends SchemaRequest.Update
The Schema API offers the possibility to perform one or more add requests in a single command.
The API is transactional and all commands in a single SolrRequest.process(SolrClient, String)
call
either succeed or fail together.
SolrRequest.METHOD
SUPPORTED_METHODS, useBinaryV2, usev2
Constructor and Description |
---|
MultiUpdate(List<SchemaRequest.Update> updateSchemaRequests) |
MultiUpdate(List<SchemaRequest.Update> updateSchemaRequests,
SolrParams q) |
Modifier and Type | Method and Description |
---|---|
protected NamedList<Object> |
getRequestParameters() |
createResponse, getContentStreams
getParams
getBasicAuthPassword, getBasicAuthUser, getCollection, getMethod, getPath, getQueryParams, getResponseParser, getStreamingResponseCallback, process, process, setBasicAuthCredentials, setMethod, setPath, setQueryParams, setResponseParser, setStreamingResponseCallback, setUseBinaryV2, setUseV2
public MultiUpdate(List<SchemaRequest.Update> updateSchemaRequests)
public MultiUpdate(List<SchemaRequest.Update> updateSchemaRequests, SolrParams q)
protected NamedList<Object> getRequestParameters()
getRequestParameters
in class SchemaRequest.Update
Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.