@@ -193,7 +193,8 @@ This requires no interaction, will use the default setup, two replicas, and two
193
193
Command(s)
194
194
195
195
``` shell
196
- SOLR_INSTALL_DIRECTORY\b in\s olr start -e cloud -noprompt
196
+ cd SOLR_INSTALL_DIRECTORY
197
+ bin\s olr start -e cloud -noprompt
197
198
```
198
199
199
200
@@ -202,7 +203,8 @@ SOLR_INSTALL_DIRECTORY\bin\solr start -e cloud -noprompt
202
203
This will set up the mechanical pencil collection and schema so that the data can be indexed.
203
204
Command(s)
204
205
``` shell
205
- SOLR_INSTALL_DIRECTORY\b in\s olr create -c mechanical-pencils -d PANL_INSTALL_DIRECTORY\s ample\s olr\m echanical-pencils\ -s 2 -rf 2
206
+ cd SOLR_INSTALL_DIRECTORY
207
+ bin\s olr create -c mechanical-pencils -d PANL_INSTALL_DIRECTORY\s ample\s olr\m echanical-pencils\ -s 2 -rf 2
206
208
```
207
209
208
210
## 3. Index the mechanical pencils data
@@ -211,15 +213,17 @@ This will index all mechanical pencil data into the Solr instance.
211
213
Command(s)
212
214
213
215
``` shell
214
- SOLR_INSTALL_DIRECTORY\b in\s olr post -c mechanical-pencils PANL_INSTALL_DIRECTORY\s ample\d ata\m echanical-mechanical-pencils.json
216
+ cd SOLR_INSTALL_DIRECTORY
217
+ bin\s olr post -c mechanical-pencils PANL_INSTALL_DIRECTORY\s ample\d ata\m echanical-mechanical-pencils.json
215
218
```
216
219
217
220
## 4. Start the Panl Server
218
221
219
222
This will start the server and be ready to accept requests.
220
223
Command(s)
221
224
``` shell
222
- PANL_INSTALL_DIRECTORY\b in\p anl.bat -properties PANL_INSTALL_DIRECTORY\s ample\p anl\m echanical-properties\p anl.properties
225
+ cd PANL_INSTALL_DIRECTORY
226
+ bin\p anl.bat -properties PANL_INSTALL_DIRECTORY\s ample\p anl\m echanical-properties\p anl.properties
223
227
```
224
228
225
229
## 5. Start searching and faceting
@@ -241,23 +245,26 @@ No prompting, default setup, two replicas, and two shards under the 'example' cl
241
245
Command(s)
242
246
243
247
``` shell
244
- SOLR_INSTALL_DIRECTORY/bin/solr start -e cloud -noprompt
248
+ cd SOLR_INSTALL_DIRECTORY
249
+ bin/solr start -e cloud -noprompt
245
250
```
246
251
247
252
## 2. Create the mechanical pencils collection
248
253
249
254
Set up the schema so that the data can be indexed.
250
255
Command(s)
251
256
``` 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
253
259
```
254
260
255
261
## 3. Index the mechanical pencils data
256
262
257
263
Index all of the data into the Solr instance
258
264
Command(s)
259
265
``` 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
261
268
```
262
269
263
270
## 4. Start the Panl Server
@@ -266,7 +273,8 @@ Ready to go.
266
273
Command(s)
267
274
268
275
``` 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
270
278
```
271
279
272
280
View the in-built Panl Results Viewer web application
@@ -285,15 +293,17 @@ If you have stopped the example Solr server, starting it up:
285
293
### _ Windows_
286
294
287
295
``` shell
288
- SOLR_INSTALL_DIRECTORY\b in\s olr start -cloud -p 8983 -s " example\cloud\node1\solr"
289
- SOLR_INSTALL_DIRECTORY\b in\s olr start -cloud -p 7574 -s " example\cloud\node2\solr" -z localhost:9983
296
+ cd SOLR_INSTALL_DIRECTORY
297
+ bin\s olr start -cloud -p 8983 -s " example\cloud\node1\solr"
298
+ bin\s olr start -cloud -p 7574 -s " example\cloud\node2\solr" -z localhost:9983
290
299
```
291
300
292
301
### _ * NIX_
293
302
294
303
``` 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
297
307
```
298
308
299
309
# Building The distribution
0 commit comments