public class SolrUpgradePre6xStatistics extends Object
| Modifier and Type | Field and Description |
|---|---|
protected BitstreamService |
bitstreamService |
protected CollectionService |
collectionService |
protected CommunityService |
communityService |
protected EPersonService |
epersonService |
protected GroupService |
groupService |
protected ItemService |
itemService |
| Constructor and Description |
|---|
SolrUpgradePre6xStatistics(String indexName,
int numRec,
int batchSize)
Construct the utility class from the command line options
|
| Modifier and Type | Method and Description |
|---|---|
static void |
main(String[] args)
Entry point for command-line invocation
|
protected CommunityService communityService
protected CollectionService collectionService
protected ItemService itemService
protected BitstreamService bitstreamService
protected EPersonService epersonService
protected GroupService groupService
public SolrUpgradePre6xStatistics(String indexName, int numRec, int batchSize) throws org.apache.solr.client.solrj.SolrServerException, IOException
indexName - name of the statistics shard to updatenumRec - maximum number of records to processIOExceptionorg.apache.solr.client.solrj.SolrServerExceptionpublic static void main(String[] args) throws org.apache.commons.cli.ParseException
args - command-line arguments; see help for descriptionorg.apache.commons.cli.ParseException - if the command-line arguments cannot be parsedCopyright © 2022 LYRASIS. All rights reserved.