PageRenderTime 89ms CodeModel.GetById 85ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/kochief/solr/conf/solrconfig.xml

https://code.google.com/p/kochief/
XML | 64 lines | 63 code | 0 blank | 1 comment | 0 complexity | 320c83acef3fa7ab06ccbd335ecd32b5 MD5 | raw file
 1<?xml version="1.0" ?>
 2<!--  For more information see http://wiki.apache.org/solr/SolrConfigXml -->
 3<config>
 4  <indexDefaults>
 5    <useCompoundFile>false</useCompoundFile>
 6    <mergeFactor>10</mergeFactor>
 7    <ramBufferSizeMB>32</ramBufferSizeMB>
 8    <maxFieldLength>10000</maxFieldLength>
 9    <writeLockTimeout>1000</writeLockTimeout>
10    <commitLockTimeout>10000</commitLockTimeout>
11  </indexDefaults>
12  <updateHandler class="solr.DirectUpdateHandler2">
13  </updateHandler>
14  <query>
15    <maxBooleanClauses>1024</maxBooleanClauses>
16    <filterCache
17      class="solr.LRUCache"
18      size="4000000"
19      initialSize="4000000"
20      autowarmCount="2000000"/>
21    <queryResultCache
22      class="solr.LRUCache"
23      size="2048"
24      initialSize="2048"
25      autowarmCount="1024"/>
26    <documentCache
27      class="solr.LRUCache"
28      size="2048"
29      initialSize="2048"
30      autowarmCount="0"/>
31    <useFilterForSortedQuery>true</useFilterForSortedQuery>
32    <queryResultWindowSize>10</queryResultWindowSize>
33    <HashDocSet maxSize="10000" loadFactor="0.75"/>
34    <boolTofilterOptimizer enabled="true" cacheSize="32" threshold=".05"/>
35  </query>
36  <requestHandler name="standard" class="solr.StandardRequestHandler">
37  </requestHandler>
38  <requestHandler name="dismax" class="solr.DisMaxRequestHandler" >
39    <lst name="defaults">
40     <float name="tie">0.01</float>
41     <str name="qf">
42        text^0.5 title^1.0 name^0.8 author^0.9 full_title^0.6 id^10.0
43     </str>
44     <str name="pf">
45        text^0.2 title^1.1
46     </str>
47     <str name="bf">
48        recip(rord(pubyear),1,1000,1000)^0.3
49     </str>
50     <str name="mm">
51        2&lt;-1 5&lt;-2 6&lt;90%
52     </str>
53     <int name="ps">100</int>
54    </lst>
55  </requestHandler>
56  <requestHandler name="/update/csv" class="solr.CSVRequestHandler" startup="lazy"></requestHandler>
57  <requestHandler name="/update" class="solr.XmlUpdateRequestHandler"></requestHandler>
58  <requestDispatcher handleSelect="true" >
59    <requestParsers enableRemoteStreaming="true" multipartUploadLimitInKB="2048" />
60  </requestDispatcher>
61  <admin>
62    <defaultQuery>solr</defaultQuery>
63  </admin>
64</config>