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 a stripped down config file used for a simple example... |
---|
21 | It is *not* a good example to work from. |
---|
22 | --> |
---|
23 | <config> |
---|
24 | <luceneMatchVersion>LUCENE_40</luceneMatchVersion> |
---|
25 | <!-- The DirectoryFactory to use for indexes. |
---|
26 | solr.StandardDirectoryFactory, the default, is filesystem based. |
---|
27 | solr.RAMDirectoryFactory is memory based, not persistent, and doesn't work with replication. --> |
---|
28 | <directoryFactory name="DirectoryFactory" class="${solr.directoryFactory:solr.StandardDirectoryFactory}"/> |
---|
29 | |
---|
30 | <dataDir>${solr.core1.data.dir:}</dataDir> |
---|
31 | |
---|
32 | <updateHandler class="solr.DirectUpdateHandler2"> |
---|
33 | <updateLog> |
---|
34 | <str name="dir">${solr.core1.data.dir:}</str> |
---|
35 | </updateLog> |
---|
36 | </updateHandler> |
---|
37 | |
---|
38 | <!-- realtime get handler, guaranteed to return the latest stored fields |
---|
39 | of any document, without the need to commit or open a new searcher. The current |
---|
40 | implementation relies on the updateLog feature being enabled. --> |
---|
41 | <requestHandler name="/get" class="solr.RealTimeGetHandler"> |
---|
42 | <lst name="defaults"> |
---|
43 | <str name="omitHeader">true</str> |
---|
44 | </lst> |
---|
45 | </requestHandler> |
---|
46 | |
---|
47 | <requestHandler name="/replication" class="solr.ReplicationHandler" startup="lazy" /> |
---|
48 | |
---|
49 | <requestDispatcher handleSelect="true" > |
---|
50 | <requestParsers enableRemoteStreaming="false" multipartUploadLimitInKB="2048" /> |
---|
51 | </requestDispatcher> |
---|
52 | |
---|
53 | <requestHandler name="standard" class="solr.StandardRequestHandler" default="true" /> |
---|
54 | <requestHandler name="/analysis/field" startup="lazy" class="solr.FieldAnalysisRequestHandler" /> |
---|
55 | <requestHandler name="/update" class="solr.UpdateRequestHandler" /> |
---|
56 | <requestHandler name="/admin/" class="org.apache.solr.handler.admin.AdminHandlers" /> |
---|
57 | |
---|
58 | <requestHandler name="/admin/ping" class="solr.PingRequestHandler"> |
---|
59 | <lst name="invariants"> |
---|
60 | <str name="q">solrpingquery</str> |
---|
61 | </lst> |
---|
62 | <lst name="defaults"> |
---|
63 | <str name="echoParams">all</str> |
---|
64 | </lst> |
---|
65 | </requestHandler> |
---|
66 | |
---|
67 | <!-- config for the admin interface --> |
---|
68 | <admin> |
---|
69 | <defaultQuery>solr</defaultQuery> |
---|
70 | </admin> |
---|
71 | |
---|
72 | </config> |
---|
73 | |
---|