Configuration cleanup for Solr 5 - mostly cleaning up solrconfig.xml
[lui-solr.git] / zookeeper / solr / README.txt
1 # Licensed to the Apache Software Foundation (ASF) under one or more
2 # contributor license agreements.  See the NOTICE file distributed with
3 # this work for additional information regarding copyright ownership.
4 # The ASF licenses this file to You under the Apache License, Version 2.0
5 # (the "License"); you may not use this file except in compliance with
6 # the License.  You may obtain a copy of the License at
7 #
8 #     http://www.apache.org/licenses/LICENSE-2.0
9 #
10 # Unless required by applicable law or agreed to in writing, software
11 # distributed under the License is distributed on an "AS IS" BASIS,
12 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 # See the License for the specific language governing permissions and
14 # limitations under the License.
15
16
17 Example Solr Home Directory
18 =============================
19
20 This directory is provided as an example of what a "Solr Home" directory
21 should look like.
22
23 It's not strictly necessary that you copy all of the files in this
24 directory when setting up a new instance of Solr, but it is recommended.
25
26
27 Basic Directory Structure
28 -------------------------
29
30 The Solr Home directory typically contains the following...
31
32 * solr.xml *
33
34 This is the primary configuration file Solr looks for when starting.
35 This file specifies the list of "SolrCores" it should load, and high 
36 level configuration options that should be used for all SolrCores.
37
38 Please see the comments in ./solr.xml for more details.
39
40 If no solr.xml file is found, then Solr assumes that there should be
41 a single SolrCore named "collection1" and that the "Instance Directory" 
42 for collection1 should be the same as the Solr Home Directory.
43
44 * Individual SolrCore Instance Directories *
45
46 Although solr.xml can be configured to look for SolrCore Instance Directories 
47 in any path, simple sub-directories of the Solr Home Dir using relative paths 
48 are common for many installations.  In this directory you can see the 
49 "./collection1" Instance Directory.
50
51 * A Shared 'lib' Directory *
52
53 Although solr.xml can be configured with an optional "sharedLib" attribute 
54 that can point to any path, it is common to use a "./lib" sub-directory of the 
55 Solr Home Directory.
56
57 * ZooKeeper Files *
58
59 When using SolrCloud using the embedded ZooKeeper option for Solr, it is 
60 common to have a "zoo.cfg" file and "zoo_data" directories in the Solr Home 
61 Directory.  Please see the SolrCloud wiki page for more details...
62
63 https://wiki.apache.org/solr/SolrCloud