| 程序包 | 说明 |
|---|---|
| org.apache.solr.client.solrj.request |
Convenience classes for dealing with various types of Solr requests.
|
| 限定符和类型 | 方法和说明 |
|---|---|
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. abort, status).
|
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 © 2006–2022 The Apache Software Foundation. All rights reserved.