public static class SchemaRequest.AddField extends SchemaRequest.Update
SolrRequest.process(SolrClient, String)
will fail.
Note that the request will be translated to json, so please use concrete values (e.g. : true, 1)
instead of their string representation (e.g. : "true", "1") for the field attributes expecting
boolean or number values.SolrRequest.METHOD
Constructor and Description |
---|
AddField(Map<String,Object> fieldAttributes)
Creates a new instance of the request.
|
AddField(Map<String,Object> fieldAttributes,
SolrParams q) |
createResponse, getContentStreams
getParams
getBasicAuthPassword, getBasicAuthUser, getMethod, getPath, getQueryParams, getResponseParser, getStreamingResponseCallback, process, process, setBasicAuthCredentials, setMethod, setPath, setQueryParams, setResponseParser, setStreamingResponseCallback
public AddField(Map<String,Object> fieldAttributes)
fieldAttributes
- field type attributes that can be used to enrich the field definition.public AddField(Map<String,Object> fieldAttributes, SolrParams q)
Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.