76 lines
2.7 KiB
XML
76 lines
2.7 KiB
XML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<!--
|
|
Licensed to the Apache Software Foundation (ASF) under one or more
|
|
contributor license agreements. See the NOTICE file distributed with
|
|
this work for additional information regarding copyright ownership.
|
|
The ASF licenses this file to You under the Apache License, Version 2.0
|
|
(the "License"); you may not use this file except in compliance with
|
|
the License. You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
See the License for the specific language governing permissions and
|
|
limitations under the License.
|
|
-->
|
|
|
|
<!--
|
|
This is a stripped down config file used for a simple example...
|
|
It is *not* a good example to work from.
|
|
-->
|
|
<config>
|
|
<updateHandler class="solr.DirectUpdateHandler2" />
|
|
|
|
<requestDispatcher handleSelect="true" >
|
|
<requestParsers enableRemoteStreaming="false" multipartUploadLimitInKB="2048" />
|
|
</requestDispatcher>
|
|
|
|
<requestHandler name="standard" class="solr.StandardRequestHandler" default="true">
|
|
<lst name="defaults">
|
|
<str name="q">*:*</str>
|
|
</lst>
|
|
</requestHandler>
|
|
<requestHandler name="/update" class="solr.XmlUpdateRequestHandler" />
|
|
<requestHandler name="/admin/" class="org.apache.solr.handler.admin.AdminHandlers" />
|
|
|
|
<requestHandler name="/replication" class="solr.ReplicationHandler" >
|
|
<lst name="slave">
|
|
<str name="masterUrl">http://${master_host}:8082/solr/${corename}/replication</str>
|
|
<str name="pollInterval">00:05:00</str>
|
|
<str name="compression">internal</str>
|
|
<str name="httpConnTimeout">60000</str>
|
|
<str name="httpReadTimeout">60000</str>
|
|
<str name="httpBasicAuthUser">goojia</str>
|
|
<str name="httpBasicAuthPassword">goojia</str>
|
|
</lst>
|
|
</requestHandler>
|
|
|
|
|
|
<admin>
|
|
<defaultQuery>solr</defaultQuery>
|
|
</admin>
|
|
|
|
|
|
<query>
|
|
<maxBooleanClauses>1024</maxBooleanClauses>
|
|
<queryResultWindowSize>4096</queryResultWindowSize>
|
|
<queryResultMaxDocsCached>4096</queryResultMaxDocsCached>
|
|
<filterCache class="solr.LRUCache" size="16384" initialSize="4096" autowarmCount="4096"/>
|
|
<queryResultCache class="solr.LRUCache" size="16384" initialSize="4096" autowarmCount="4096"/>
|
|
<documentCache class="solr.LRUCache" size="16384" initialSize="4096" autowarmCount="4096"/>
|
|
</query>
|
|
|
|
|
|
<mainIndex>
|
|
<unlockOnStartup>true</unlockOnStartup>
|
|
<useCompoundFile>false</useCompoundFile>
|
|
<ramBufferSizeMB>512</ramBufferSizeMB>
|
|
<mergeFactor>10</mergeFactor>
|
|
</mainIndex>
|
|
|
|
|
|
</config>
|
|
|