Class SchemaRequest.AddCopyField
java.lang.Object
org.apache.solr.client.solrj.SolrRequest<SchemaResponse.UpdateResponse>
org.apache.solr.client.solrj.request.CollectionRequiringSolrRequest<SchemaResponse.UpdateResponse>
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.AddCopyField
- All Implemented Interfaces:
Serializable
- Enclosing class:
SchemaRequest
Adds a new copy field rule to the schema of the specified collection.
- See Also:
-
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 -
Constructor Summary
ConstructorsConstructorDescriptionAddCopyField(String source, List<String> dest) Creates a new instance of the request.AddCopyField(String source, List<String> dest, Integer maxChars) Creates a new instance of the request.AddCopyField(String source, List<String> dest, Integer maxChars, SolrParams q) AddCopyField(String source, List<String> dest, SolrParams q) -
Method Summary
Methods inherited from class org.apache.solr.client.solrj.request.schema.SchemaRequest.Update
createResponse, getContentWriterMethods inherited from class org.apache.solr.client.solrj.request.schema.AbstractSchemaRequest
getParamsMethods inherited from class org.apache.solr.client.solrj.request.CollectionRequiringSolrRequest
requiresCollectionMethods inherited from class org.apache.solr.client.solrj.SolrRequest
addHeader, addHeaders, getApiVersion, getBasicAuthPassword, getBasicAuthUser, getCollection, getContentStreams, getHeaders, getMethod, getPath, getPreferredNodes, getQueryParams, getRequestType, getResponseParser, getStreamingResponseCallback, getUserPrincipal, process, process, processWithBaseUrl, setBasicAuthCredentials, setMethod, setPath, setPreferredNodes, setQueryParams, setRequestType, setResponseParser, setStreamingResponseCallback, setUserPrincipal
-
Constructor Details
-
AddCopyField
Creates a new instance of the request.- Parameters:
source- the source field namedest- the collection of the destination field names- See Also:
-
AddCopyField
Creates a new instance of the request.- Parameters:
source- the source field namedest- the collection of the destination field namesmaxChars- the number of characters to be copied from the source to the dest. Specifying 0 as value, means that all the source characters will be copied to the dest.- See Also:
-
AddCopyField
-
AddCopyField
-
-
Method Details
-
getRequestParameters
- Specified by:
getRequestParametersin classSchemaRequest.Update
-