Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/lui-solr
[lui-solr.git] / zookeeper / solr / collection1 / 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 SolrCore Instance Directory
18 =============================
19
20 This directory is provided as an example of what an "Instance Directory"
21 should look like for a SolrCore
22
23 It's not strictly necessary that you copy all of the files in this
24 directory when setting up a new SolrCores, but it is recommended.
25
26
27 Basic Directory Structure
28 -------------------------
29
30 The Solr Home directory typically contains the following sub-directories...
31
32    conf/
33         This directory is mandatory and must contain your solrconfig.xml
34         and schema.xml.  Any other optional configuration files would also 
35         be kept here.
36
37    data/
38         This directory is the default location where Solr will keep your
39         index, and is used by the replication scripts for dealing with
40         snapshots.  You can override this location in the 
41         conf/solrconfig.xml.  Solr will create this directory if it does not 
42         already exist.
43
44    lib/
45         This directory is optional.  If it exists, Solr will load any Jars
46         found in this directory and use them to resolve any "plugins"
47         specified in your solrconfig.xml or schema.xml (ie: Analyzers,
48         Request Handlers, etc...).  Alternatively you can use the <lib>
49         syntax in conf/solrconfig.xml to direct Solr to your plugins.  See 
50         the example conf/solrconfig.xml file for details.