Package | Description |
---|---|
org.apache.solr.client.solrj.request |
Convenience classes for dealing with various types of Solr requests.
|
Modifier and Type | Method and 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).
|
Copyright © 2000-2020 Apache Software Foundation. All Rights Reserved.