Class SchemaRequest.AddCopyField
- 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.AddCopyField
-
- All Implemented Interfaces:
Serializable
- Enclosing class:
- SchemaRequest
public static class SchemaRequest.AddCopyField extends SchemaRequest.Update
Adds a new copy field rule to the schema of the specified collection.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.solr.client.solrj.SolrRequest
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 AddCopyField(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, 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, 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
-
AddCopyField
public AddCopyField(String source, List<String> dest)
Creates a new instance of the request.- Parameters:
source
- the source field namedest
- the collection of the destination field names- See Also:
- Copying fields
-
AddCopyField
public AddCopyField(String source, List<String> dest, Integer maxChars)
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:
- Copying fields
-
AddCopyField
public AddCopyField(String source, List<String> dest, SolrParams q)
-
AddCopyField
public AddCopyField(String source, List<String> dest, Integer maxChars, SolrParams q)
-
-