public class IndexClient extends Object
| Modifier and Type | Method and Description |
|---|---|
protected static void |
checkRebuildSpellCheck(org.apache.commons.cli.CommandLine line,
IndexingService indexer)
Check the command line options and rebuild the spell check if active.
|
static void |
main(String[] args)
When invoked as a command-line tool, creates, updates, removes content
from the whole index
|
public static void main(String[] args) throws SQLException, IOException, SearchServiceException
args - the command-line arguments, none usedSQLException - An exception that provides information on a database access error or other errors.IOException - A general class of exceptions produced by failed or interrupted I/O operations.SearchServiceException - if something went wrong with querying the solr serverprotected static void checkRebuildSpellCheck(org.apache.commons.cli.CommandLine line,
IndexingService indexer)
throws SearchServiceException,
IOException
line - the command line optionsindexer - the solr indexerSearchServiceException - in case of a solr exceptionIOException - passed throughCopyright © 2019 DuraSpace. All rights reserved.