| Package | Description |
|---|---|
| org.dspace.util |
Generally useful classes, not particularly tied to any other package.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
SolrImportExport.exportIndex(java.lang.String indexName,
java.io.File toDir,
java.lang.String solrUrl,
java.lang.String timeField,
boolean overwrite)
Exports all documents in the given index to the specified target directory in batches of #ROWS_PER_FILE.
|
static void |
SolrImportExport.exportIndex(java.lang.String indexName,
java.io.File toDir,
java.lang.String solrUrl,
java.lang.String timeField,
java.lang.String fromWhen,
boolean overwrite)
Exports documents from the given index to the specified target directory in batches of #ROWS_PER_FILE, starting at fromWhen (or all documents).
|
static void |
SolrImportExport.importIndex(java.lang.String indexName,
java.io.File fromDir,
java.lang.String solrUrl,
boolean clear)
Import previously exported documents (or externally created CSV files that have the appropriate structure) into the specified index.
|
Copyright © 2018 DuraSpace. All Rights Reserved.