You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: solr/solr-ref-guide/modules/configuration-guide/pages/configuration-files.adoc
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -91,7 +91,7 @@ However, if you are running your own ZooKeeper ensemble, you would supply your o
91
91
92
92
== Files Screen
93
93
94
-
The Files screen in the Admin UI lets you browse & view configuration files (such `solrconfig.xml` and the schema file) for the collection you selected.
94
+
The Files screen in the Admin UI lets you browse & view configuration files (such as `solrconfig.xml` and the schema file) for the collection you selected.
Copy file name to clipboardExpand all lines: solr/solr-ref-guide/modules/deployment-guide/pages/solr-control-script-reference.adoc
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -322,7 +322,7 @@ The `-c` and `-cloud` options are equivalent:
322
322
323
323
If you specify a ZooKeeper connection string, such as `-z 192.168.1.4:2181`, then Solr will connect to ZooKeeper and join the cluster.
324
324
325
-
NOTE: If you have defined `ZK_HOST` in `solr.in.sh`/`solr.in.cmd` (see xref:zookeeper-ensemble.adoc#updating-solr-include-files,Updating Solr Include Files>>) you can omit `-z <zk host string>` from all `bin/solr` commands.
325
+
NOTE: If you have defined `ZK_HOST` in `solr.in.sh`/`solr.in.cmd` (see xref:zookeeper-ensemble.adoc#updating-solr-include-files[Updating Solr Include Files]) you can omit `-z <zk host string>` from all `bin/solr` commands.
326
326
327
327
When starting Solr in SolrCloud mode, if you do not define `ZK_HOST` in `solr.in.sh`/`solr.in.cmd` nor specify the `-z` option, then Solr will launch an embedded ZooKeeper server listening on the Solr port + 1000.
328
328
For example, if Solr is running on port 8983, then the embedded ZooKeeper will listen on port 9983.
Copy file name to clipboardExpand all lines: solr/solr-ref-guide/modules/getting-started/pages/introduction.adoc
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -44,4 +44,4 @@ Indexes can be sharded and replicated for performance and reliability, using eit
44
44
One type of cluster requires no supporting infrastructure, and instances are managed directly by administrators. The second type uses https://zookeeper.apache.org/[Apache Zookeeper^TM^] to coordinate management activities across the cluster.
45
45
46
46
Solr scaling and high availability features are so effective that some of the largest and most famous internet sites use Solr.
47
-
A partial, typically self nominated, list of sites using Solr can be found at https://cwiki.apache.org/confluence/display/solr/PublicServers.
47
+
A partial, typically self nominated, list of sites using Solr can be found at https://solr.apache.org/community.html#powered-by.
Copy file name to clipboardExpand all lines: solr/solr-ref-guide/modules/getting-started/pages/solr-tutorial.adoc
+11-3Lines changed: 11 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,14 +20,18 @@
20
20
This tutorial covers getting Solr up and running, ingesting a variety of data sources into Solr collections,
21
21
and getting a feel for the Solr administrative and search interfaces.
22
22
23
-
The tutorial is organized into three sections that each build on the one before it.
23
+
The tutorial is organized into a number of sections that each build on the one before it.
24
+
24
25
The xref:tutorial-techproducts.adoc[first exercise] will ask you to start Solr, create a collection, index some basic documents, and then perform some searches.
25
26
26
27
The xref:tutorial-films.adoc[second exercise] works with a different set of data, and explores requesting facets with the dataset.
27
28
28
29
The xref:tutorial-diy.adoc[third exercise] encourages you to begin to work with your own data and start a plan for your implementation.
29
30
30
-
Finally, we'll introduce <<Spatial Queries,spatial search>> and show you how to get your Solr instance back into a clean state.
31
+
The tutorial also includes other, more advanced, exercises that introduce you to xref:tutorial-paramsets.adoc[ParamSets],
32
+
xref:tutorial-vectors.adoc[vector search], xref:tutorial-solrcloud.adoc[SolrCloud], and xref:tutorial-aws.adoc[deploying Solr to AWS].
33
+
34
+
Finally, we'll introduce <<Spatial Queries,spatial search>>, and show you how to get your Solr instance back into a clean state.
31
35
32
36
== Before You Begin
33
37
@@ -43,7 +47,7 @@ For best results, please run the browser showing this tutorial and the Solr serv
43
47
== Unpack Solr
44
48
45
49
Begin by unzipping the full Solr release and changing your working directory to the subdirectory where Solr was installed.
46
-
For example, with a shell in UNIX, Cygwin, or MacOS:
50
+
For example, with a shell in UNIX, Cygwin, or macOS:
47
51
48
52
[,console]
49
53
----
@@ -57,6 +61,10 @@ $ cd solr-{solr-full-version}/
57
61
58
62
If you'd like to know more about Solr's directory layout before moving to the first exercise, see the section xref:deployment-guide:installing-solr.adoc#directory-layout[Directory Layout] for details.
59
63
64
+
== Start with the exercises
65
+
66
+
Navigate to xref:tutorial-five-minutes.adoc[] to get started. Don't worry, you can come back to this page at a later point,
Edit `/etc/hosts`, and add entries for the above machines:
172
+
Edit `/etc/hosts` on each of the instances, and add the following entries:
166
173
+
167
174
[,console]
168
175
----
169
176
$ sudo vim /etc/hosts
170
-
54.1.2.3 solr-node-1
171
-
54.4.5.6 solr-node-2
177
+
172.16.2.3 solr-node-1
178
+
172.16.5.6 solr-node-2
172
179
----
173
180
174
181
. Configure Solr in running EC2 instances.
175
182
+
176
-
In this case, one of the machines will host ZooKeeper embedded along with Solr node, say, `ec2-101-1-2-3.us-east-2.compute.amazonaws.com` (aka, `solr-node-1`)
183
+
In this case, one of the machines will host ZooKeeper embedded along with Solr node, say, `ec2-101-1-2-3.us-east-2.compute.amazonaws.com` (aka, `solr-node-1`).
184
+
+
185
+
See <<Deploying with External ZooKeeper>> for configuring external ZooKeeper.
186
+
+
187
+
On both machines, edit the `solr.in.sh` script and configure the environment variables that allow
188
+
Solr and embedded ZooKeeper to listen on all network interfaces, and not just on 127.0.0.1
189
+
+
190
+
[,console]
191
+
----
192
+
$ cd $SOLR_HOME
193
+
194
+
# uncomment and edit the two variables
195
+
# vim bin/solr.in.sh
196
+
SOLR_JETTY_HOST="0.0.0.0"
197
+
SOLR_ZK_EMBEDDED_HOST="0.0.0.0"
198
+
----
177
199
+
178
-
See <<Deploying with External ZooKeeper>> for configure external ZooKeeper.
200
+
See xref:deployment-guide:securing-solr.adoc#network-configuration[Network Configuration] for more details.
179
201
+
180
202
Inside the `ec2-101-1-2-3.us-east-2.compute.amazonaws.com` (`solr-node-1`)
181
203
+
182
204
[,console]
183
205
----
184
206
$ cd $SOLR_HOME
185
-
# start Solr node on 8983 and ZooKeeper will start on 8983+1000 9983
207
+
208
+
# start Solr node on 8983 and ZooKeeper will start on 9983 (8983+1000)
186
209
$ bin/solr start -c -p 8983 -h solr-node-1
187
210
----
188
211
+
@@ -191,23 +214,24 @@ On the other node, `ec2-101-4-5-6.us-east-2.compute.amazonaws.com` (`solr-node-2
191
214
[,console]
192
215
----
193
216
$ cd $SOLR_HOME
217
+
194
218
# start Solr node on 8983 and connect to ZooKeeper running on first node
Copy file name to clipboardExpand all lines: solr/solr-ref-guide/modules/getting-started/pages/tutorial-diy.adoc
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,7 +20,7 @@
20
20
[[exercise-3]]
21
21
== Exercise 3: Index Your Own Data
22
22
23
-
For this last exercise, work with a dataset of your choice.
23
+
For this exercise, work with a dataset of your choice.
24
24
This can be files on your local hard drive, a set of data you have worked with before, or maybe a sample of the data you intend to index to Solr for your production application.
25
25
26
26
This exercise is intended to get you thinking about what you will need to do for your application:
@@ -120,3 +120,5 @@ You can also modify the above to only delete documents that match a specific que
120
120
At this point, you're ready to start working on your own.
121
121
122
122
Jump ahead to the overall xref:solr-tutorial.adoc#wrapping-up[wrap up] when you're ready to stop Solr and remove all the examples you worked with and start fresh.
123
+
124
+
Or if you'd like, you could work your way through the remaining exercises.
0 commit comments