# Uses of Class
org.apache.solr.client.solrj.request.CollectionAdminRequest.ReindexCollection

Packages that use CollectionAdminRequest.ReindexCollection
Package
Description
org.apache.solr.client.solrj.request
Convenience classes for dealing with various types of Solr requests.

## Uses of CollectionAdminRequest.ReindexCollection in org.apache.solr.client.solrj.request

Methods in org.apache.solr.client.solrj.request that return CollectionAdminRequest.ReindexCollection
Modifier and Type
Method
Description
`static CollectionAdminRequest.ReindexCollection`
CollectionAdminRequest.`reindexCollection(String collection)`
Returns a SolrRequest to reindex a collection
`CollectionAdminRequest.ReindexCollection`
CollectionAdminRequest.ReindexCollection.`setBatchSize(int batchSize)`
Copy documents in batches of this size.
`CollectionAdminRequest.ReindexCollection`
CollectionAdminRequest.ReindexCollection.`setCollectionParam(String key, Object value)`
Set other supported collection CREATE parameters.
`CollectionAdminRequest.ReindexCollection`
CollectionAdminRequest.ReindexCollection.`setCommand(String command)`
Set optional command (eg.
`CollectionAdminRequest.ReindexCollection`
CollectionAdminRequest.ReindexCollection.`setConfigName(String configName)`
Config name for the target collection.
`CollectionAdminRequest.ReindexCollection`
CollectionAdminRequest.ReindexCollection.`setFields(String fields)`
Fields to reindex (the same syntax as `CommonParams.FL`), default is '*'.
`CollectionAdminRequest.ReindexCollection`
CollectionAdminRequest.ReindexCollection.`setQuery(String query)`
Query matching the documents to reindex (default is '*:*').
`CollectionAdminRequest.ReindexCollection`
CollectionAdminRequest.ReindexCollection.`setRemoveSource(boolean removeSource)`
Remove source collection after success.
`CollectionAdminRequest.ReindexCollection`
CollectionAdminRequest.ReindexCollection.`setTarget(String target)`
Target collection name (null if the same).