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, getContentWriter
getParams
addHeader, getBasePath, getBasicAuthPassword, getBasicAuthUser, getCollection, getContentStreams, getHeaders, getMethod, getPath, getQueryParams, getResponseParser, getStreamingResponseCallback, getUserPrincipal, process, process, setBasePath, setBasicAuthCredentials, setMethod, setPath, setQueryParams, setResponseParser, setStreamingResponseCallback, setUseBinaryV2, setUserPrincipal, 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-2019 Apache Software Foundation. All Rights Reserved.