~slub.team/goobi-indexserver/3.x

« back to all changes in this revision

Viewing changes to solr/core/src/test-files/solr/conf/solrconfig-slave.xml

  • Committer: Sebastian Meyer
  • Date: 2012-08-03 09:12:40 UTC
  • Revision ID: sebastian.meyer@slub-dresden.de-20120803091240-x6861b0vabq1xror
Remove Lucene and Solr source code and add patches instead
Fix Bug #985487: Auto-suggestion for the search interface

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<?xml version="1.0" ?>
2
 
 
3
 
<!--
4
 
 Licensed to the Apache Software Foundation (ASF) under one or more
5
 
 contributor license agreements.  See the NOTICE file distributed with
6
 
 this work for additional information regarding copyright ownership.
7
 
 The ASF licenses this file to You under the Apache License, Version 2.0
8
 
 (the "License"); you may not use this file except in compliance with
9
 
 the License.  You may obtain a copy of the License at
10
 
 
11
 
     http://www.apache.org/licenses/LICENSE-2.0
12
 
 
13
 
 Unless required by applicable law or agreed to in writing, software
14
 
 distributed under the License is distributed on an "AS IS" BASIS,
15
 
 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
 
 See the License for the specific language governing permissions and
17
 
 limitations under the License.
18
 
-->
19
 
 
20
 
<!-- $Id: solrconfig-slave.xml 1197159 2011-11-03 14:40:25Z mvg $
21
 
     $Source$
22
 
     $Name$
23
 
  -->
24
 
 
25
 
<config>
26
 
  <luceneMatchVersion>${tests.luceneMatchVersion:LUCENE_CURRENT}</luceneMatchVersion>
27
 
  <dataDir>${solr.data.dir:}</dataDir>
28
 
 
29
 
  <indexDefaults>
30
 
    <useCompoundFile>false</useCompoundFile>
31
 
    <mergeFactor>10</mergeFactor>
32
 
    <ramBufferSizeMB>32</ramBufferSizeMB>
33
 
    <maxMergeDocs>2147483647</maxMergeDocs>
34
 
    <maxFieldLength>10000</maxFieldLength>
35
 
    <writeLockTimeout>1000</writeLockTimeout>
36
 
 
37
 
    <writeLockTimeout>1000</writeLockTimeout>
38
 
 
39
 
    <lockType>single</lockType>
40
 
  </indexDefaults>
41
 
 
42
 
  <mainIndex>
43
 
    <useCompoundFile>false</useCompoundFile>
44
 
    <mergeFactor>10</mergeFactor>
45
 
    <ramBufferSizeMB>32</ramBufferSizeMB>
46
 
    <maxMergeDocs>2147483647</maxMergeDocs>
47
 
    <maxFieldLength>10000</maxFieldLength>
48
 
 
49
 
    <unlockOnStartup>true</unlockOnStartup>
50
 
  </mainIndex>
51
 
 
52
 
  <updateHandler class="solr.DirectUpdateHandler2">
53
 
  </updateHandler>
54
 
 
55
 
  <requestHandler name="standard" class="solr.StandardRequestHandler">
56
 
    <bool name="httpCaching">true</bool>
57
 
  </requestHandler>
58
 
 
59
 
  <!-- test query parameter defaults -->
60
 
  <requestHandler name="defaults" class="solr.StandardRequestHandler">
61
 
 
62
 
  </requestHandler>
63
 
 
64
 
  <!-- test query parameter defaults -->
65
 
  <requestHandler name="lazy" class="solr.StandardRequestHandler" startup="lazy">
66
 
  </requestHandler>
67
 
 
68
 
  <requestHandler name="/update" class="solr.XmlUpdateRequestHandler"/>
69
 
 
70
 
  <requestHandler name="/replication" class="solr.ReplicationHandler">
71
 
        <lst name="slave">
72
 
                <str name="masterUrl">http://localhost:TEST_PORT/solr/replication</str>
73
 
                <str name="pollInterval">00:00:01</str>
74
 
        </lst>
75
 
  </requestHandler>
76
 
 
77
 
 
78
 
  <!-- enable streaming for testing... -->
79
 
  <requestDispatcher handleSelect="true">
80
 
    <requestParsers enableRemoteStreaming="true" multipartUploadLimitInKB="2048"/>
81
 
    <httpCaching lastModifiedFrom="openTime" etagSeed="Solr" never304="false">
82
 
      <cacheControl>max-age=30, public</cacheControl>
83
 
    </httpCaching>
84
 
  </requestDispatcher>
85
 
 
86
 
</config>