Skip to content

Commit 70b00d9

Browse files
author
synapticloop
committed
Fixed commands
1 parent 68b2f14 commit 70b00d9

File tree

1 file changed

+22
-12
lines changed

1 file changed

+22
-12
lines changed

README.md

+22-12
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,8 @@ This requires no interaction, will use the default setup, two replicas, and two
193193
Command(s)
194194

195195
```shell
196-
SOLR_INSTALL_DIRECTORY\bin\solr start -e cloud -noprompt
196+
cd SOLR_INSTALL_DIRECTORY
197+
bin\solr start -e cloud -noprompt
197198
```
198199

199200

@@ -202,7 +203,8 @@ SOLR_INSTALL_DIRECTORY\bin\solr start -e cloud -noprompt
202203
This will set up the mechanical pencil collection and schema so that the data can be indexed.
203204
Command(s)
204205
```shell
205-
SOLR_INSTALL_DIRECTORY\bin\solr create -c mechanical-pencils -d PANL_INSTALL_DIRECTORY\sample\solr\mechanical-pencils\ -s 2 -rf 2
206+
cd SOLR_INSTALL_DIRECTORY
207+
bin\solr create -c mechanical-pencils -d PANL_INSTALL_DIRECTORY\sample\solr\mechanical-pencils\ -s 2 -rf 2
206208
```
207209

208210
## 3. Index the mechanical pencils data
@@ -211,15 +213,17 @@ This will index all mechanical pencil data into the Solr instance.
211213
Command(s)
212214

213215
```shell
214-
SOLR_INSTALL_DIRECTORY\bin\solr post -c mechanical-pencils PANL_INSTALL_DIRECTORY\sample\data\mechanical-mechanical-pencils.json
216+
cd SOLR_INSTALL_DIRECTORY
217+
bin\solr post -c mechanical-pencils PANL_INSTALL_DIRECTORY\sample\data\mechanical-mechanical-pencils.json
215218
```
216219

217220
## 4. Start the Panl Server
218221

219222
This will start the server and be ready to accept requests.
220223
Command(s)
221224
```shell
222-
PANL_INSTALL_DIRECTORY\bin\panl.bat -properties PANL_INSTALL_DIRECTORY\sample\panl\mechanical-properties\panl.properties
225+
cd PANL_INSTALL_DIRECTORY
226+
bin\panl.bat -properties PANL_INSTALL_DIRECTORY\sample\panl\mechanical-properties\panl.properties
223227
```
224228

225229
## 5. Start searching and faceting
@@ -241,23 +245,26 @@ No prompting, default setup, two replicas, and two shards under the 'example' cl
241245
Command(s)
242246

243247
```shell
244-
SOLR_INSTALL_DIRECTORY/bin/solr start -e cloud -noprompt
248+
cd SOLR_INSTALL_DIRECTORY
249+
bin/solr start -e cloud -noprompt
245250
```
246251

247252
## 2. Create the mechanical pencils collection
248253

249254
Set up the schema so that the data can be indexed.
250255
Command(s)
251256
```shell
252-
SOLR_INSTALL_DIRECTORY/bin/solr create -c mechanical-pencils -d PANL_INSTALL_DIRECTORY/sample/solr/mechanical-pencils/ -s 2 -rf 2
257+
cd SOLR_INSTALL_DIRECTORY
258+
bin/solr create -c mechanical-pencils -d PANL_INSTALL_DIRECTORY/sample/solr/mechanical-pencils/ -s 2 -rf 2
253259
```
254260

255261
## 3. Index the mechanical pencils data
256262

257263
Index all of the data into the Solr instance
258264
Command(s)
259265
```shell
260-
SOLR_INSTALL_DIRECTORY/bin/solr post -c mechanical-pencils PANL_INSTALL_DIRECTORY/sample/data/mechanical-mechanical-pencils.json
266+
cd SOLR_INSTALL_DIRECTORY
267+
bin/solr post -c mechanical-pencils PANL_INSTALL_DIRECTORY/sample/data/mechanical-mechanical-pencils.json
261268
```
262269

263270
## 4. Start the Panl Server
@@ -266,7 +273,8 @@ Ready to go.
266273
Command(s)
267274

268275
```shell
269-
PANL_INSTALL_DIRECTORY/bin/panl -properties PANL_INSTALL_DIRECTORY/sample/panl/mechanical-properties/panl.properties
276+
cd PANL_INSTALL_DIRECTORY
277+
bin/panl -properties PANL_INSTALL_DIRECTORY/sample/panl/mechanical-properties/panl.properties
270278
```
271279

272280
View the in-built Panl Results Viewer web application
@@ -285,15 +293,17 @@ If you have stopped the example Solr server, starting it up:
285293
### _Windows_
286294

287295
```shell
288-
SOLR_INSTALL_DIRECTORY\bin\solr start -cloud -p 8983 -s "example\cloud\node1\solr"
289-
SOLR_INSTALL_DIRECTORY\bin\solr start -cloud -p 7574 -s "example\cloud\node2\solr" -z localhost:9983
296+
cd SOLR_INSTALL_DIRECTORY
297+
bin\solr start -cloud -p 8983 -s "example\cloud\node1\solr"
298+
bin\solr start -cloud -p 7574 -s "example\cloud\node2\solr" -z localhost:9983
290299
```
291300

292301
### _*NIX_
293302

294303
```shell
295-
SOLR_INSTALL_DIRECTORY/bin/solr start -cloud -p 8983 -s "example/cloud/node1/solr"
296-
SOLR_INSTALL_DIRECTORY/bin/solr start -cloud -p 7574 -s "example/cloud/node2/solr" -z localhost:9983
304+
cd SOLR_INSTALL_DIRECTORY
305+
bin/solr start -cloud -p 8983 -s "example/cloud/node1/solr"
306+
bin/solr start -cloud -p 7574 -s "example/cloud/node2/solr" -z localhost:9983
297307
```
298308

299309
# Building The distribution

0 commit comments

Comments
 (0)