Package org.apache.solr.cli
Class PostLogsTool
java.lang.Object
org.apache.solr.cli.ToolBase
org.apache.solr.cli.PostLogsTool
- All Implemented Interfaces:
Tool
A command line tool for indexing Solr logs in the out-of-the-box log format.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetName()Defines the interface to a Solr tool that can be run from this command-line app.org.apache.commons.cli.OptionsRetrieve theOptionssupported by this tool.static String[]getRequestPurposeNames(Integer reqPurpose) voidrunCommand(String baseUrl, String root, String credentials) voidrunImpl(org.apache.commons.cli.CommandLine cli) Methods inherited from class org.apache.solr.cli.ToolBase
echo, echoIfVerbose, getConnectionOptions, getRuntime, isVerbose, runTool
-
Field Details
-
UNKNOWN_VALUE
- See Also:
-
-
Constructor Details
-
PostLogsTool
-
-
Method Details
-
getName
Description copied from interface:ToolDefines the interface to a Solr tool that can be run from this command-line app. -
getOptions
public org.apache.commons.cli.Options getOptions()Description copied from interface:ToolRetrieve theOptionssupported by this tool.- Specified by:
getOptionsin interfaceTool- Overrides:
getOptionsin classToolBase- Returns:
- The
Optionsthis tool supports.
-
runImpl
-
runCommand
- Throws:
IOException
-
getRequestPurposeNames
-