chef-solr
- Runs as Chef's search server
chef-solr (options)
-c
, --config CONFIG
-d
, --daemonize
-g
, --group GROUP
-l
, --log_level LEVEL
-L
, --logfile LOGLOCATION
-P
, --pid PIDFILE
-D
, --solr-data-dir PATH
-x
, --solor-heap-size SIZE
-H
, --solr-home-dir PATH
-j
, --java-opts OPTS
-x
, --solor-heap-size
-W
, --solr-jetty-dir PATH
-u
, --user USER
-v
, --version
-h
, --help
Chef-solr provides search service for Chef. You need to have both chef-solr and chef-expander-cluster running in order for search to work.
Installation
Make sure you backed up your data if you are upgrading from a previous version. Run chef-solr-installer to upgrade your Chef Solr installation. Answer "yes" when prompted for confirmation. The process should look like this:
yourshell> chef-solr-installer
Configuration setting solr_heap_size is unknown and will be ignored
Chef Solr is already installed in /var/chef/solr
Do you want to overwrite the current install? All existing Solr data will be lost. [y/n] y
Removing the existing Chef Solr installation
rm -rf /var/chef/solr
rm -rf /var/chef/solr-jetty
rm -rf /var/chef/solr/data
Creating Solr Home Directory
mkdir -p /var/chef/solr
entering /var/chef/solr
tar zxvf /Users/ddeleo/opscode/chef/chef-solr/solr/solr-home.tar.gz
Creating Solr Data Directory
mkdir -p /var/chef/solr/data
Unpacking Solr Jetty
mkdir -p /var/chef/solr-jetty
entering /var/chef/solr-jetty
tar zxvf /Users/ddeleo/opscode/chef/chef-solr/solr/solr-jetty.tar.gz
Successfully installed Chef Solr.
You can restore your search index using `knife index rebuild`
chef-expander-cluster(8)
Full documentation for Chef and chef-server is located on the Chef wiki, http://wiki.opscode.com/display/chef/Home.
Chef was written by Adam Jacob adam@ospcode.com of Opscode (http://www.opscode.com), with contributions from the community. This manual page was written by Joshua Timberman joshua@opscode.com with help2man. Permission is granted to copy, distribute and / or modify this document under the terms of the Apache 2.0 License.
On Debian systems, the complete text of the Apache 2.0 License can be found in /usr/share/common-licenses/Apache-2.0.