1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
|
.\" generated with Ronn/v0.7.3
.\" http://github.com/rtomayko/ronn/tree/0.7.3
.
.TH "CHEF\-SOLR" "8" "February 2013" "Chef 11.0.0.rc.0" "Chef Manual"
.
.SH "NAME"
\fBchef\-solr\fR \- Runs as Chef\'s search server
.
.SH "SYNOPSIS"
\fBchef\-solr\fR \fI(options)\fR
.
.TP
\fB\-c\fR, \fB\-\-config CONFIG\fR
The configuration file to use
.
.TP
\fB\-d\fR, \fB\-\-daemonize\fR
Daemonize the process
.
.TP
\fB\-g\fR, \fB\-\-group GROUP\fR
Group to set privilege to
.
.TP
\fB\-l\fR, \fB\-\-log_level LEVEL\fR
Set the log level (debug, info, warn, error, fatal)
.
.TP
\fB\-L\fR, \fB\-\-logfile LOGLOCATION\fR
Set the log file location, defaults to STDOUT \- recommended for daemonizing
.
.TP
\fB\-P\fR, \fB\-\-pid PIDFILE\fR
Set the PID file location, defaults to /tmp/chef\-solr\.pid
.
.TP
\fB\-D\fR, \fB\-\-solr\-data\-dir PATH\fR
Where the Solr data lives
.
.TP
\fB\-x\fR, \fB\-\-solor\-heap\-size SIZE\fR
Set the size of the Java Heap
.
.TP
\fB\-H\fR, \fB\-\-solr\-home\-dir PATH\fR
Solr home directory
.
.TP
\fB\-j\fR, \fB\-\-java\-opts OPTS\fR
Raw options passed to Java
.
.TP
\fB\-x\fR, \fB\-\-solor\-heap\-size\fR
Set the size of the Java Heap
.
.TP
\fB\-W\fR, \fB\-\-solr\-jetty\-dir PATH\fR
Where to place the Solr Jetty instance
.
.TP
\fB\-u\fR, \fB\-\-user USER\fR
User to set privilege to
.
.TP
\fB\-v\fR, \fB\-\-version\fR
Show chef\-solr version
.
.TP
\fB\-h\fR, \fB\-\-help\fR
Show this message
.
.SH "DESCRIPTION"
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\.
.
.P
\fBInstallation\fR
.
.P
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:
.
.IP "" 4
.
.nf
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`
.
.fi
.
.IP "" 0
.
.SH "SEE ALSO"
\fBchef\-expander\-cluster\fR(8)
.
.P
Full documentation for Chef and chef\-server is located on the Chef wiki, http://wiki\.opscode\.com/display/chef/Home\.
.
.SH "AUTHOR"
Chef was written by Adam Jacob \fIadam@ospcode\.com\fR of Opscode (http://www\.opscode\.com), with contributions from the community\. This manual page was written by Joshua Timberman \fIjoshua@opscode\.com\fR with help2man\. Permission is granted to copy, distribute and / or modify this document under the terms of the Apache 2\.0 License\.
.
.P
On Debian systems, the complete text of the Apache 2\.0 License can be found in /usr/share/common\-licenses/Apache\-2\.0\.
|