1 | <?xml version="1.0" encoding="UTF-8" ?> |
---|
2 | <!-- |
---|
3 | Licensed to the Apache Software Foundation (ASF) under one or more |
---|
4 | contributor license agreements. See the NOTICE file distributed with |
---|
5 | this work for additional information regarding copyright ownership. |
---|
6 | The ASF licenses this file to You under the Apache License, Version 2.0 |
---|
7 | (the "License"); you may not use this file except in compliance with |
---|
8 | the License. You may obtain a copy of the License at |
---|
9 | |
---|
10 | http://www.apache.org/licenses/LICENSE-2.0 |
---|
11 | |
---|
12 | Unless required by applicable law or agreed to in writing, software |
---|
13 | distributed under the License is distributed on an "AS IS" BASIS, |
---|
14 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
---|
15 | See the License for the specific language governing permissions and |
---|
16 | limitations under the License. |
---|
17 | --> |
---|
18 | |
---|
19 | <!-- |
---|
20 | This is an example of a simple "solr.xml" file for configuring one or |
---|
21 | more Solr Cores, as well as allowing Cores to be added, removed, and |
---|
22 | reloaded via HTTP requests. |
---|
23 | |
---|
24 | More information about options available in this configuration file, |
---|
25 | and Solr Core administration can be found online: |
---|
26 | http://wiki.apache.org/solr/CoreAdmin |
---|
27 | --> |
---|
28 | |
---|
29 | <!-- |
---|
30 | All (relative) paths are relative to the installation path |
---|
31 | |
---|
32 | persistent: Save changes made via the API to this file |
---|
33 | sharedLib: path to a lib directory that will be shared across all cores |
---|
34 | --> |
---|
35 | <solr persistent="false"> |
---|
36 | <!-- by default, this is 50 @ WARN |
---|
37 | <logging enabled="true"> |
---|
38 | <watcher size="100" threshold="INFO" /> |
---|
39 | </logging> |
---|
40 | --> |
---|
41 | |
---|
42 | <!-- |
---|
43 | adminPath: RequestHandler path to manage cores. |
---|
44 | If 'null' (or absent), cores will not be manageable via request handler |
---|
45 | --> |
---|
46 | <cores adminPath="/admin/cores" defaultCoreName="collection1" host="${host:}" hostPort="${jetty.port:}"> |
---|
47 | <core name="collection1" instanceDir="." /> |
---|
48 | </cores> |
---|
49 | </solr> |
---|