Overview
The solrutil CLI tool is provided as a proprietary utility by Xinet and can be used to update and administer the Solr search database.
Information
Prerequisite:
- Nativeadmin access to Xinet Administration and command-line
To use the Solr utility, follow these steps:
- Open the Command-line.
- Type the following to enter the utility directory:
cd /usr/etc/venture/bin/solrutil - Launch the utility
solrutiland use any of the required parameters.
Usage example:
./solrutil [-D | -d dblev] [-ipport URL]
|
Parameters |
Description |
|
-checkdb |
validate MYSQL database |
|
-corestatus <name> <field> |
print core <name>'s <field> value |
|
-delete <fileidlist> |
remove list of FileIDs |
|
-export <folder> |
export WNV to <folder> |
|
-init <path> |
create search core in <path> folder |
|
-movecoredata <name> <path> |
Moves a Solr core from one location to another; relocates core <name> to new <path> If you find this solrutil option does not work, ask Northplains support for instructions on how to move the Solr core manually (ref: XIN-7876) |
|
-post |
import entire WNV |
|
-purgedeleted |
remove files no longer present in Venture. |
|
-schema |
import Keyword config |
|
-start |
start up Solr (clearing shutdown indicator) |
|
-stop |
shut down Solr (and prevent auto-restart) |
|
-unloadcore <name> |
remove core <name> |
|
-update <fileidlist> |
import list of files from WNV |
|
-updatepath <path> |
import path and all contents from WNV |
|
-v print |
version |
Priyanka Bhotika
Comments