Class SchemaRequest.AddDynamicField
- java.lang.Object
-
- org.apache.solr.client.solrj.SolrRequest<T>
-
- org.apache.solr.client.solrj.request.CollectionRequiringSolrRequest<T>
-
- org.apache.solr.client.solrj.request.schema.AbstractSchemaRequest<SchemaResponse.UpdateResponse>
-
- org.apache.solr.client.solrj.request.schema.SchemaRequest.Update
-
- org.apache.solr.client.solrj.request.schema.SchemaRequest.AddDynamicField
-
- All Implemented Interfaces:
Serializable
- Enclosing class:
- SchemaRequest
public static class SchemaRequest.AddDynamicField extends SchemaRequest.Update
Adds a new dynamic field rule to the schema of the specified collection.- See Also:
- Defining Solr fields, Solr dynamic fields, Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.solr.client.solrj.SolrRequest
SolrRequest.ApiVersion, SolrRequest.METHOD, SolrRequest.SolrClientContext, SolrRequest.SolrRequestType
-
-
Field Summary
-
Fields inherited from class org.apache.solr.client.solrj.SolrRequest
SUPPORTED_METHODS, useBinaryV2, usev2
-
-
Constructor Summary
Constructors Constructor Description AddDynamicField(Map<String,Object> fieldAttributes)
Creates a new instance of the request.AddDynamicField(Map<String,Object> fieldAttributes, SolrParams q)
-
Method Summary
-
Methods inherited from class org.apache.solr.client.solrj.request.schema.SchemaRequest.Update
createResponse, getContentWriter
-
Methods inherited from class org.apache.solr.client.solrj.request.schema.AbstractSchemaRequest
getParams, getRequestType
-
Methods inherited from class org.apache.solr.client.solrj.request.CollectionRequiringSolrRequest
requiresCollection
-
Methods inherited from class org.apache.solr.client.solrj.SolrRequest
addHeader, addHeaders, getApiVersion, getBasePath, getBasicAuthPassword, getBasicAuthUser, getCollection, getContentStreams, getHeaders, getMethod, getPath, getPreferredNodes, getQueryParams, getResponseParser, getStreamingResponseCallback, getUserPrincipal, process, process, setBasePath, setBasicAuthCredentials, setMethod, setPath, setPreferredNodes, setQueryParams, setResponseParser, setStreamingResponseCallback, setUseBinaryV2, setUserPrincipal, setUseV2
-
-
-
-
Constructor Detail
-
AddDynamicField
public AddDynamicField(Map<String,Object> fieldAttributes)
Creates a new instance of the request.- Parameters:
fieldAttributes
- field type attributes that can be used to enrich the field definition.
-
AddDynamicField
public AddDynamicField(Map<String,Object> fieldAttributes, SolrParams q)
-
-