tanning_bed_solr 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (155) hide show
  1. data/.bnsignore +18 -0
  2. data/.gitignore +9 -0
  3. data/History.txt +4 -0
  4. data/README.txt +45 -0
  5. data/Rakefile +18 -0
  6. data/lib/tanning_bed_solr.rb +65 -0
  7. data/vendor/solr/README.txt +42 -0
  8. data/vendor/solr/etc/jetty.xml +212 -0
  9. data/vendor/solr/etc/webdefault.xml +379 -0
  10. data/vendor/solr/example-DIH/README.txt +43 -0
  11. data/vendor/solr/example-DIH/hsqldb/ex.backup +0 -0
  12. data/vendor/solr/example-DIH/hsqldb/ex.data +0 -0
  13. data/vendor/solr/example-DIH/hsqldb/ex.log +2 -0
  14. data/vendor/solr/example-DIH/hsqldb/ex.properties +17 -0
  15. data/vendor/solr/example-DIH/hsqldb/ex.script +12 -0
  16. data/vendor/solr/example-DIH/solr/db/conf/admin-extra.html +31 -0
  17. data/vendor/solr/example-DIH/solr/db/conf/db-data-config.xml +31 -0
  18. data/vendor/solr/example-DIH/solr/db/conf/elevate.xml +36 -0
  19. data/vendor/solr/example-DIH/solr/db/conf/protwords.txt +21 -0
  20. data/vendor/solr/example-DIH/solr/db/conf/schema.xml +356 -0
  21. data/vendor/solr/example-DIH/solr/db/conf/scripts.conf +24 -0
  22. data/vendor/solr/example-DIH/solr/db/conf/solrconfig.xml +705 -0
  23. data/vendor/solr/example-DIH/solr/db/conf/stopwords.txt +58 -0
  24. data/vendor/solr/example-DIH/solr/db/conf/synonyms.txt +31 -0
  25. data/vendor/solr/example-DIH/solr/db/conf/xslt/example.xsl +132 -0
  26. data/vendor/solr/example-DIH/solr/db/conf/xslt/example_atom.xsl +63 -0
  27. data/vendor/solr/example-DIH/solr/db/conf/xslt/example_rss.xsl +62 -0
  28. data/vendor/solr/example-DIH/solr/db/conf/xslt/luke.xsl +345 -0
  29. data/vendor/solr/example-DIH/solr/db/lib/hsqldb-1.8.0.10.jar +0 -0
  30. data/vendor/solr/example-DIH/solr/mail/conf/data-config.xml +11 -0
  31. data/vendor/solr/example-DIH/solr/mail/conf/protwords.txt +21 -0
  32. data/vendor/solr/example-DIH/solr/mail/conf/schema.xml +370 -0
  33. data/vendor/solr/example-DIH/solr/mail/conf/solrconfig.xml +807 -0
  34. data/vendor/solr/example-DIH/solr/mail/conf/stopwords.txt +58 -0
  35. data/vendor/solr/example-DIH/solr/mail/conf/synonyms.txt +31 -0
  36. data/vendor/solr/example-DIH/solr/rss/conf/admin-extra.html +31 -0
  37. data/vendor/solr/example-DIH/solr/rss/conf/elevate.xml +36 -0
  38. data/vendor/solr/example-DIH/solr/rss/conf/protwords.txt +21 -0
  39. data/vendor/solr/example-DIH/solr/rss/conf/rss-data-config.xml +26 -0
  40. data/vendor/solr/example-DIH/solr/rss/conf/schema.xml +316 -0
  41. data/vendor/solr/example-DIH/solr/rss/conf/scripts.conf +24 -0
  42. data/vendor/solr/example-DIH/solr/rss/conf/solrconfig.xml +704 -0
  43. data/vendor/solr/example-DIH/solr/rss/conf/stopwords.txt +58 -0
  44. data/vendor/solr/example-DIH/solr/rss/conf/synonyms.txt +31 -0
  45. data/vendor/solr/example-DIH/solr/solr.xml +8 -0
  46. data/vendor/solr/exampledocs/books.csv +11 -0
  47. data/vendor/solr/exampledocs/hd.xml +48 -0
  48. data/vendor/solr/exampledocs/ipod_other.xml +52 -0
  49. data/vendor/solr/exampledocs/ipod_video.xml +36 -0
  50. data/vendor/solr/exampledocs/mem.xml +60 -0
  51. data/vendor/solr/exampledocs/monitor.xml +31 -0
  52. data/vendor/solr/exampledocs/monitor2.xml +30 -0
  53. data/vendor/solr/exampledocs/mp500.xml +39 -0
  54. data/vendor/solr/exampledocs/payload.xml +57 -0
  55. data/vendor/solr/exampledocs/post.jar +0 -0
  56. data/vendor/solr/exampledocs/post.sh +28 -0
  57. data/vendor/solr/exampledocs/sd500.xml +34 -0
  58. data/vendor/solr/exampledocs/solr.xml +38 -0
  59. data/vendor/solr/exampledocs/test_utf8.sh +83 -0
  60. data/vendor/solr/exampledocs/utf8-example.xml +42 -0
  61. data/vendor/solr/exampledocs/vidcard.xml +54 -0
  62. data/vendor/solr/lib/jetty-6.1.3.jar +0 -0
  63. data/vendor/solr/lib/jetty-util-6.1.3.jar +0 -0
  64. data/vendor/solr/lib/jsp-2.1/ant-1.6.5.jar +0 -0
  65. data/vendor/solr/lib/jsp-2.1/core-3.1.1.jar +0 -0
  66. data/vendor/solr/lib/jsp-2.1/jsp-2.1.jar +0 -0
  67. data/vendor/solr/lib/jsp-2.1/jsp-api-2.1.jar +0 -0
  68. data/vendor/solr/lib/servlet-api-2.5-6.1.3.jar +0 -0
  69. data/vendor/solr/logs/.keep +0 -0
  70. data/vendor/solr/multicore/README.txt +3 -0
  71. data/vendor/solr/multicore/core0/conf/schema.xml +41 -0
  72. data/vendor/solr/multicore/core0/conf/solrconfig.xml +40 -0
  73. data/vendor/solr/multicore/core1/conf/schema.xml +41 -0
  74. data/vendor/solr/multicore/core1/conf/solrconfig.xml +40 -0
  75. data/vendor/solr/multicore/exampledocs/ipod_other.xml +34 -0
  76. data/vendor/solr/multicore/exampledocs/ipod_video.xml +22 -0
  77. data/vendor/solr/multicore/solr.xml +35 -0
  78. data/vendor/solr/solr/README.txt +54 -0
  79. data/vendor/solr/solr/conf/admin-extra.html +31 -0
  80. data/vendor/solr/solr/conf/elevate.xml +36 -0
  81. data/vendor/solr/solr/conf/mapping-ISOLatin1Accent.txt +246 -0
  82. data/vendor/solr/solr/conf/protwords.txt +21 -0
  83. data/vendor/solr/solr/conf/schema.xml +126 -0
  84. data/vendor/solr/solr/conf/scripts.conf +24 -0
  85. data/vendor/solr/solr/conf/solrconfig.xml +458 -0
  86. data/vendor/solr/solr/conf/spellings.txt +2 -0
  87. data/vendor/solr/solr/conf/stopwords.txt +58 -0
  88. data/vendor/solr/solr/conf/synonyms.txt +31 -0
  89. data/vendor/solr/solr/conf/xslt/example.xsl +132 -0
  90. data/vendor/solr/solr/conf/xslt/example_atom.xsl +67 -0
  91. data/vendor/solr/solr/conf/xslt/example_rss.xsl +66 -0
  92. data/vendor/solr/solr/conf/xslt/luke.xsl +337 -0
  93. data/vendor/solr/start.jar +0 -0
  94. data/vendor/solr/webapps/solr.war +0 -0
  95. data/vendor/solr/work/Jetty_0_0_0_0_8983_solr.war__solr__k1kf17/jsp/org/apache/jsp/admin/index_jsp.class +0 -0
  96. data/vendor/solr/work/Jetty_0_0_0_0_8983_solr.war__solr__k1kf17/jsp/org/apache/jsp/index_jsp.class +0 -0
  97. data/vendor/solr/work/Jetty_0_0_0_0_8983_solr.war__solr__k1kf17/webapp/META-INF/LICENSE.txt +1086 -0
  98. data/vendor/solr/work/Jetty_0_0_0_0_8983_solr.war__solr__k1kf17/webapp/META-INF/NOTICE.txt +254 -0
  99. data/vendor/solr/work/Jetty_0_0_0_0_8983_solr.war__solr__k1kf17/webapp/WEB-INF/lib/apache-solr-core-1.4.0.jar +0 -0
  100. data/vendor/solr/work/Jetty_0_0_0_0_8983_solr.war__solr__k1kf17/webapp/WEB-INF/lib/apache-solr-dataimporthandler-1.4.0.jar +0 -0
  101. data/vendor/solr/work/Jetty_0_0_0_0_8983_solr.war__solr__k1kf17/webapp/WEB-INF/lib/apache-solr-solrj-1.4.0.jar +0 -0
  102. data/vendor/solr/work/Jetty_0_0_0_0_8983_solr.war__solr__k1kf17/webapp/WEB-INF/lib/commons-codec-1.3.jar +0 -0
  103. data/vendor/solr/work/Jetty_0_0_0_0_8983_solr.war__solr__k1kf17/webapp/WEB-INF/lib/commons-csv-1.0-SNAPSHOT-r609327.jar +0 -0
  104. data/vendor/solr/work/Jetty_0_0_0_0_8983_solr.war__solr__k1kf17/webapp/WEB-INF/lib/commons-fileupload-1.2.1.jar +0 -0
  105. data/vendor/solr/work/Jetty_0_0_0_0_8983_solr.war__solr__k1kf17/webapp/WEB-INF/lib/commons-httpclient-3.1.jar +0 -0
  106. data/vendor/solr/work/Jetty_0_0_0_0_8983_solr.war__solr__k1kf17/webapp/WEB-INF/lib/commons-io-1.4.jar +0 -0
  107. data/vendor/solr/work/Jetty_0_0_0_0_8983_solr.war__solr__k1kf17/webapp/WEB-INF/lib/geronimo-stax-api_1.0_spec-1.0.1.jar +0 -0
  108. data/vendor/solr/work/Jetty_0_0_0_0_8983_solr.war__solr__k1kf17/webapp/WEB-INF/lib/jcl-over-slf4j-1.5.5.jar +0 -0
  109. data/vendor/solr/work/Jetty_0_0_0_0_8983_solr.war__solr__k1kf17/webapp/WEB-INF/lib/lucene-analyzers-2.9.1.jar +0 -0
  110. data/vendor/solr/work/Jetty_0_0_0_0_8983_solr.war__solr__k1kf17/webapp/WEB-INF/lib/lucene-core-2.9.1.jar +0 -0
  111. data/vendor/solr/work/Jetty_0_0_0_0_8983_solr.war__solr__k1kf17/webapp/WEB-INF/lib/lucene-highlighter-2.9.1.jar +0 -0
  112. data/vendor/solr/work/Jetty_0_0_0_0_8983_solr.war__solr__k1kf17/webapp/WEB-INF/lib/lucene-memory-2.9.1.jar +0 -0
  113. data/vendor/solr/work/Jetty_0_0_0_0_8983_solr.war__solr__k1kf17/webapp/WEB-INF/lib/lucene-misc-2.9.1.jar +0 -0
  114. data/vendor/solr/work/Jetty_0_0_0_0_8983_solr.war__solr__k1kf17/webapp/WEB-INF/lib/lucene-queries-2.9.1.jar +0 -0
  115. data/vendor/solr/work/Jetty_0_0_0_0_8983_solr.war__solr__k1kf17/webapp/WEB-INF/lib/lucene-snowball-2.9.1.jar +0 -0
  116. data/vendor/solr/work/Jetty_0_0_0_0_8983_solr.war__solr__k1kf17/webapp/WEB-INF/lib/lucene-spellchecker-2.9.1.jar +0 -0
  117. data/vendor/solr/work/Jetty_0_0_0_0_8983_solr.war__solr__k1kf17/webapp/WEB-INF/lib/slf4j-api-1.5.5.jar +0 -0
  118. data/vendor/solr/work/Jetty_0_0_0_0_8983_solr.war__solr__k1kf17/webapp/WEB-INF/lib/slf4j-jdk14-1.5.5.jar +0 -0
  119. data/vendor/solr/work/Jetty_0_0_0_0_8983_solr.war__solr__k1kf17/webapp/WEB-INF/lib/wstx-asl-3.2.7.jar +0 -0
  120. data/vendor/solr/work/Jetty_0_0_0_0_8983_solr.war__solr__k1kf17/webapp/WEB-INF/web.xml +148 -0
  121. data/vendor/solr/work/Jetty_0_0_0_0_8983_solr.war__solr__k1kf17/webapp/WEB-INF/weblogic.xml +12 -0
  122. data/vendor/solr/work/Jetty_0_0_0_0_8983_solr.war__solr__k1kf17/webapp/admin/_info.jsp +118 -0
  123. data/vendor/solr/work/Jetty_0_0_0_0_8983_solr.war__solr__k1kf17/webapp/admin/action.jsp +94 -0
  124. data/vendor/solr/work/Jetty_0_0_0_0_8983_solr.war__solr__k1kf17/webapp/admin/analysis.jsp +498 -0
  125. data/vendor/solr/work/Jetty_0_0_0_0_8983_solr.war__solr__k1kf17/webapp/admin/analysis.xsl +179 -0
  126. data/vendor/solr/work/Jetty_0_0_0_0_8983_solr.war__solr__k1kf17/webapp/admin/dataimport.jsp +54 -0
  127. data/vendor/solr/work/Jetty_0_0_0_0_8983_solr.war__solr__k1kf17/webapp/admin/debug.jsp +106 -0
  128. data/vendor/solr/work/Jetty_0_0_0_0_8983_solr.war__solr__k1kf17/webapp/admin/distributiondump.jsp +160 -0
  129. data/vendor/solr/work/Jetty_0_0_0_0_8983_solr.war__solr__k1kf17/webapp/admin/favicon.ico +0 -0
  130. data/vendor/solr/work/Jetty_0_0_0_0_8983_solr.war__solr__k1kf17/webapp/admin/form.jsp +137 -0
  131. data/vendor/solr/work/Jetty_0_0_0_0_8983_solr.war__solr__k1kf17/webapp/admin/get-file.jsp +72 -0
  132. data/vendor/solr/work/Jetty_0_0_0_0_8983_solr.war__solr__k1kf17/webapp/admin/get-properties.jsp +24 -0
  133. data/vendor/solr/work/Jetty_0_0_0_0_8983_solr.war__solr__k1kf17/webapp/admin/header.jsp +41 -0
  134. data/vendor/solr/work/Jetty_0_0_0_0_8983_solr.war__solr__k1kf17/webapp/admin/index.jsp +156 -0
  135. data/vendor/solr/work/Jetty_0_0_0_0_8983_solr.war__solr__k1kf17/webapp/admin/jquery-1.2.3.min.js +32 -0
  136. data/vendor/solr/work/Jetty_0_0_0_0_8983_solr.war__solr__k1kf17/webapp/admin/meta.xsl +34 -0
  137. data/vendor/solr/work/Jetty_0_0_0_0_8983_solr.war__solr__k1kf17/webapp/admin/ping.jsp +52 -0
  138. data/vendor/solr/work/Jetty_0_0_0_0_8983_solr.war__solr__k1kf17/webapp/admin/ping.xsl +71 -0
  139. data/vendor/solr/work/Jetty_0_0_0_0_8983_solr.war__solr__k1kf17/webapp/admin/raw-schema.jsp +38 -0
  140. data/vendor/solr/work/Jetty_0_0_0_0_8983_solr.war__solr__k1kf17/webapp/admin/registry.jsp +107 -0
  141. data/vendor/solr/work/Jetty_0_0_0_0_8983_solr.war__solr__k1kf17/webapp/admin/registry.xsl +321 -0
  142. data/vendor/solr/work/Jetty_0_0_0_0_8983_solr.war__solr__k1kf17/webapp/admin/replication/header.jsp +89 -0
  143. data/vendor/solr/work/Jetty_0_0_0_0_8983_solr.war__solr__k1kf17/webapp/admin/replication/index.jsp +378 -0
  144. data/vendor/solr/work/Jetty_0_0_0_0_8983_solr.war__solr__k1kf17/webapp/admin/schema.jsp +657 -0
  145. data/vendor/solr/work/Jetty_0_0_0_0_8983_solr.war__solr__k1kf17/webapp/admin/solr-admin.css +215 -0
  146. data/vendor/solr/work/Jetty_0_0_0_0_8983_solr.war__solr__k1kf17/webapp/admin/solr_small.png +0 -0
  147. data/vendor/solr/work/Jetty_0_0_0_0_8983_solr.war__solr__k1kf17/webapp/admin/stats.jsp +92 -0
  148. data/vendor/solr/work/Jetty_0_0_0_0_8983_solr.war__solr__k1kf17/webapp/admin/stats.xsl +220 -0
  149. data/vendor/solr/work/Jetty_0_0_0_0_8983_solr.war__solr__k1kf17/webapp/admin/tabular.xsl +141 -0
  150. data/vendor/solr/work/Jetty_0_0_0_0_8983_solr.war__solr__k1kf17/webapp/admin/threaddump.jsp +110 -0
  151. data/vendor/solr/work/Jetty_0_0_0_0_8983_solr.war__solr__k1kf17/webapp/admin/threaddump.xsl +103 -0
  152. data/vendor/solr/work/Jetty_0_0_0_0_8983_solr.war__solr__k1kf17/webapp/favicon.ico +0 -0
  153. data/vendor/solr/work/Jetty_0_0_0_0_8983_solr.war__solr__k1kf17/webapp/index.jsp +42 -0
  154. data/version.txt +1 -0
  155. metadata +251 -0
@@ -0,0 +1,24 @@
1
+ # Licensed to the Apache Software Foundation (ASF) under one or more
2
+ # contributor license agreements. See the NOTICE file distributed with
3
+ # this work for additional information regarding copyright ownership.
4
+ # The ASF licenses this file to You under the Apache License, Version 2.0
5
+ # (the "License"); you may not use this file except in compliance with
6
+ # the License. You may obtain a copy of the License at
7
+ #
8
+ # http://www.apache.org/licenses/LICENSE-2.0
9
+ #
10
+ # Unless required by applicable law or agreed to in writing, software
11
+ # distributed under the License is distributed on an "AS IS" BASIS,
12
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ # See the License for the specific language governing permissions and
14
+ # limitations under the License.
15
+
16
+ user=
17
+ solr_hostname=localhost
18
+ solr_port=8983
19
+ rsyncd_port=18983
20
+ data_dir=
21
+ webapp_name=solr
22
+ master_host=
23
+ master_data_dir=
24
+ master_status_dir=
@@ -0,0 +1,704 @@
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
+ <config>
20
+
21
+ <jmx />
22
+
23
+ <!-- Set this to 'false' if you want solr to continue working after it has
24
+ encountered an severe configuration error. In a production environment,
25
+ you may want solr to keep working even if one handler is mis-configured.
26
+
27
+ You may also set this to false using by setting the system property:
28
+ -Dsolr.abortOnConfigurationError=false
29
+ -->
30
+ <abortOnConfigurationError>${solr.abortOnConfigurationError:true}</abortOnConfigurationError>
31
+
32
+ <indexDefaults>
33
+ <!-- Values here affect all index writers and act as a default unless overridden. -->
34
+ <useCompoundFile>false</useCompoundFile>
35
+
36
+ <mergeFactor>10</mergeFactor>
37
+ <!--
38
+ If both ramBufferSizeMB and maxBufferedDocs is set, then Lucene will flush based on whichever limit is hit first.
39
+
40
+ -->
41
+ <!--<maxBufferedDocs>1000</maxBufferedDocs>-->
42
+ <!-- Tell Lucene when to flush documents to disk.
43
+ Giving Lucene more memory for indexing means faster indexing at the cost of more RAM
44
+
45
+ If both ramBufferSizeMB and maxBufferedDocs is set, then Lucene will flush based on whichever limit is hit first.
46
+
47
+ -->
48
+ <ramBufferSizeMB>32</ramBufferSizeMB>
49
+ <maxMergeDocs>2147483647</maxMergeDocs>
50
+ <maxFieldLength>10000</maxFieldLength>
51
+ <writeLockTimeout>1000</writeLockTimeout>
52
+ <commitLockTimeout>10000</commitLockTimeout>
53
+
54
+ <!--
55
+ Expert: Turn on Lucene's auto commit capability.
56
+
57
+ TODO: Add recommendations on why you would want to do this.
58
+
59
+ NOTE: Despite the name, this value does not have any relation to Solr's autoCommit functionality
60
+
61
+ -->
62
+ <!--<luceneAutoCommit>false</luceneAutoCommit>-->
63
+ <!--
64
+ Expert:
65
+ The Merge Policy in Lucene controls how merging is handled by Lucene. The default in 2.3 is the LogByteSizeMergePolicy, previous
66
+ versions used LogDocMergePolicy.
67
+
68
+ LogByteSizeMergePolicy chooses segments to merge based on their size. The Lucene 2.2 default, LogDocMergePolicy chose when
69
+ to merge based on number of documents
70
+
71
+ Other implementations of MergePolicy must have a no-argument constructor
72
+ -->
73
+ <!--<mergePolicy>org.apache.lucene.index.LogByteSizeMergePolicy</mergePolicy>-->
74
+
75
+ <!--
76
+ Expert:
77
+ The Merge Scheduler in Lucene controls how merges are performed. The ConcurrentMergeScheduler (Lucene 2.3 default)
78
+ can perform merges in the background using separate threads. The SerialMergeScheduler (Lucene 2.2 default) does not.
79
+ -->
80
+ <!--<mergeScheduler>org.apache.lucene.index.ConcurrentMergeScheduler</mergeScheduler>-->
81
+
82
+ <!--
83
+ As long as Solr is the only process modifying your index, it is
84
+ safe to use Lucene's in process locking mechanism. But you may
85
+ specify one of the other Lucene LockFactory implementations in
86
+ the event that you have a custom situation.
87
+
88
+ none = NoLockFactory (typically only used with read only indexes)
89
+ single = SingleInstanceLockFactory (suggested)
90
+ native = NativeFSLockFactory
91
+ simple = SimpleFSLockFactory
92
+
93
+ ('simple' is the default for backwards compatibility with Solr 1.2)
94
+ -->
95
+ <lockType>single</lockType>
96
+ </indexDefaults>
97
+
98
+ <mainIndex>
99
+ <!-- options specific to the main on-disk lucene index -->
100
+ <useCompoundFile>false</useCompoundFile>
101
+ <ramBufferSizeMB>32</ramBufferSizeMB>
102
+ <mergeFactor>10</mergeFactor>
103
+ <!-- Deprecated -->
104
+ <!--<maxBufferedDocs>1000</maxBufferedDocs>-->
105
+ <maxMergeDocs>2147483647</maxMergeDocs>
106
+ <maxFieldLength>10000</maxFieldLength>
107
+
108
+ <!-- If true, unlock any held write or commit locks on startup.
109
+ This defeats the locking mechanism that allows multiple
110
+ processes to safely access a lucene index, and should be
111
+ used with care.
112
+ This is not needed if lock type is 'none' or 'single'
113
+ -->
114
+ <unlockOnStartup>false</unlockOnStartup>
115
+ </mainIndex>
116
+
117
+ <!-- the default high-performance update handler -->
118
+ <updateHandler class="solr.DirectUpdateHandler2">
119
+
120
+ <!-- A prefix of "solr." for class names is an alias that
121
+ causes solr to search appropriate packages, including
122
+ org.apache.solr.(search|update|request|core|analysis)
123
+ -->
124
+
125
+ <!-- Limit the number of deletions Solr will buffer during doc updating.
126
+
127
+ Setting this lower can help bound memory use during indexing.
128
+ -->
129
+ <maxPendingDeletes>100000</maxPendingDeletes>
130
+
131
+ <!-- Perform a <commit/> automatically under certain conditions:
132
+
133
+ maxDocs - number of updates since last commit is greater than this
134
+ maxTime - oldest uncommited update (in ms) is this long ago
135
+ <autoCommit>
136
+ <maxDocs>10000</maxDocs>
137
+ <maxTime>1000</maxTime>
138
+ </autoCommit>
139
+ -->
140
+
141
+ <!-- The RunExecutableListener executes an external command.
142
+ exe - the name of the executable to run
143
+ dir - dir to use as the current working directory. default="."
144
+ wait - the calling thread waits until the executable returns. default="true"
145
+ args - the arguments to pass to the program. default=nothing
146
+ env - environment variables to set. default=nothing
147
+ -->
148
+ <!-- A postCommit event is fired after every commit or optimize command
149
+ <listener event="postCommit" class="solr.RunExecutableListener">
150
+ <str name="exe">solr/bin/snapshooter</str>
151
+ <str name="dir">.</str>
152
+ <bool name="wait">true</bool>
153
+ <arr name="args"> <str>arg1</str> <str>arg2</str> </arr>
154
+ <arr name="env"> <str>MYVAR=val1</str> </arr>
155
+ </listener>
156
+ -->
157
+ <!-- A postOptimize event is fired only after every optimize command, useful
158
+ in conjunction with index distribution to only distribute optimized indicies
159
+ <listener event="postOptimize" class="solr.RunExecutableListener">
160
+ <str name="exe">snapshooter</str>
161
+ <str name="dir">solr/bin</str>
162
+ <bool name="wait">true</bool>
163
+ </listener>
164
+ -->
165
+
166
+ </updateHandler>
167
+
168
+
169
+ <query>
170
+ <!-- Maximum number of clauses in a boolean query... can affect
171
+ range or prefix queries that expand to big boolean
172
+ queries. An exception is thrown if exceeded. -->
173
+ <maxBooleanClauses>1024</maxBooleanClauses>
174
+
175
+
176
+ <!-- Cache used by SolrIndexSearcher for filters (DocSets),
177
+ unordered sets of *all* documents that match a query.
178
+ When a new searcher is opened, its caches may be prepopulated
179
+ or "autowarmed" using data from caches in the old searcher.
180
+ autowarmCount is the number of items to prepopulate. For LRUCache,
181
+ the autowarmed items will be the most recently accessed items.
182
+ Parameters:
183
+ class - the SolrCache implementation (currently only LRUCache)
184
+ size - the maximum number of entries in the cache
185
+ initialSize - the initial capacity (number of entries) of
186
+ the cache. (seel java.util.HashMap)
187
+ autowarmCount - the number of entries to prepopulate from
188
+ and old cache.
189
+ -->
190
+ <filterCache
191
+ class="solr.LRUCache"
192
+ size="512"
193
+ initialSize="512"
194
+ autowarmCount="256"/>
195
+
196
+ <!-- queryResultCache caches results of searches - ordered lists of
197
+ document ids (DocList) based on a query, a sort, and the range
198
+ of documents requested. -->
199
+ <queryResultCache
200
+ class="solr.LRUCache"
201
+ size="512"
202
+ initialSize="512"
203
+ autowarmCount="256"/>
204
+
205
+ <!-- documentCache caches Lucene Document objects (the stored fields for each document).
206
+ Since Lucene internal document ids are transient, this cache will not be autowarmed. -->
207
+ <documentCache
208
+ class="solr.LRUCache"
209
+ size="512"
210
+ initialSize="512"
211
+ autowarmCount="0"/>
212
+
213
+ <!-- If true, stored fields that are not requested will be loaded lazily.
214
+
215
+ This can result in a significant speed improvement if the usual case is to
216
+ not load all stored fields, especially if the skipped fields are large compressed
217
+ text fields.
218
+ -->
219
+ <enableLazyFieldLoading>true</enableLazyFieldLoading>
220
+
221
+ <!-- Example of a generic cache. These caches may be accessed by name
222
+ through SolrIndexSearcher.getCache(),cacheLookup(), and cacheInsert().
223
+ The purpose is to enable easy caching of user/application level data.
224
+ The regenerator argument should be specified as an implementation
225
+ of solr.search.CacheRegenerator if autowarming is desired. -->
226
+ <!--
227
+ <cache name="myUserCache"
228
+ class="solr.LRUCache"
229
+ size="4096"
230
+ initialSize="1024"
231
+ autowarmCount="1024"
232
+ regenerator="org.mycompany.mypackage.MyRegenerator"
233
+ />
234
+ -->
235
+
236
+ <!-- An optimization that attempts to use a filter to satisfy a search.
237
+ If the requested sort does not include score, then the filterCache
238
+ will be checked for a filter matching the query. If found, the filter
239
+ will be used as the source of document ids, and then the sort will be
240
+ applied to that.
241
+ <useFilterForSortedQuery>true</useFilterForSortedQuery>
242
+ -->
243
+
244
+ <!-- An optimization for use with the queryResultCache. When a search
245
+ is requested, a superset of the requested number of document ids
246
+ are collected. For example, if a search for a particular query
247
+ requests matching documents 10 through 19, and queryWindowSize is 50,
248
+ then documents 0 through 49 will be collected and cached. Any further
249
+ requests in that range can be satisfied via the cache. -->
250
+ <queryResultWindowSize>50</queryResultWindowSize>
251
+
252
+ <!-- Maximum number of documents to cache for any entry in the
253
+ queryResultCache. -->
254
+ <queryResultMaxDocsCached>200</queryResultMaxDocsCached>
255
+
256
+ <!-- This entry enables an int hash representation for filters (DocSets)
257
+ when the number of items in the set is less than maxSize. For smaller
258
+ sets, this representation is more memory efficient, more efficient to
259
+ iterate over, and faster to take intersections. -->
260
+ <HashDocSet maxSize="3000" loadFactor="0.75"/>
261
+
262
+ <!-- a newSearcher event is fired whenever a new searcher is being prepared
263
+ and there is a current searcher handling requests (aka registered). -->
264
+ <!-- QuerySenderListener takes an array of NamedList and executes a
265
+ local query request for each NamedList in sequence. -->
266
+ <listener event="newSearcher" class="solr.QuerySenderListener">
267
+ <arr name="queries">
268
+ <lst> <str name="q">solr</str> <str name="start">0</str> <str name="rows">10</str> </lst>
269
+ <lst> <str name="q">rocks</str> <str name="start">0</str> <str name="rows">10</str> </lst>
270
+ <lst><str name="q">static newSearcher warming query from solrconfig.xml</str></lst>
271
+ </arr>
272
+ </listener>
273
+
274
+ <!-- a firstSearcher event is fired whenever a new searcher is being
275
+ prepared but there is no current registered searcher to handle
276
+ requests or to gain autowarming data from. -->
277
+ <listener event="firstSearcher" class="solr.QuerySenderListener">
278
+ <arr name="queries">
279
+ </arr>
280
+ </listener>
281
+
282
+ <!-- If a search request comes in and there is no current registered searcher,
283
+ then immediately register the still warming searcher and use it. If
284
+ "false" then all requests will block until the first searcher is done
285
+ warming. -->
286
+ <useColdSearcher>false</useColdSearcher>
287
+
288
+ <!-- Maximum number of searchers that may be warming in the background
289
+ concurrently. An error is returned if this limit is exceeded. Recommend
290
+ 1-2 for read-only slaves, higher for masters w/o cache warming. -->
291
+ <maxWarmingSearchers>4</maxWarmingSearchers>
292
+
293
+ </query>
294
+
295
+ <!--
296
+ Let the dispatch filter handler /select?qt=XXX
297
+ handleSelect=true will use consistent error handling for /select and /update
298
+ handleSelect=false will use solr1.1 style error formatting
299
+ -->
300
+ <requestDispatcher handleSelect="true" >
301
+ <!--Make sure your system has some authentication before enabling remote streaming! -->
302
+ <requestParsers enableRemoteStreaming="false" multipartUploadLimitInKB="2048" />
303
+
304
+ <!-- Set HTTP caching related parameters (for proxy caches and clients).
305
+
306
+ To get the behaviour of Solr 1.2 (ie: no caching related headers)
307
+ use the never304="true" option and do not specify a value for
308
+ <cacheControl>
309
+ -->
310
+ <httpCaching never304="true">
311
+ <!--httpCaching lastModifiedFrom="openTime"
312
+ etagSeed="Solr"-->
313
+ <!-- lastModFrom="openTime" is the default, the Last-Modified value
314
+ (and validation against If-Modified-Since requests) will all be
315
+ relative to when the current Searcher was opened.
316
+ You can change it to lastModFrom="dirLastMod" if you want the
317
+ value to exactly corrispond to when the physical index was last
318
+ modified.
319
+
320
+ etagSeed="..." is an option you can change to force the ETag
321
+ header (and validation against If-None-Match requests) to be
322
+ differnet even if the index has not changed (ie: when making
323
+ significant changes to your config file)
324
+
325
+ lastModifiedFrom and etagSeed are both ignored if you use the
326
+ never304="true" option.
327
+ -->
328
+ <!-- If you include a <cacheControl> directive, it will be used to
329
+ generate a Cache-Control header, as well as an Expires header
330
+ if the value contains "max-age="
331
+
332
+ By default, no Cache-Control header is generated.
333
+
334
+ You can use the <cacheControl> option even if you have set
335
+ never304="true"
336
+ -->
337
+ <!-- <cacheControl>max-age=30, public</cacheControl> -->
338
+ </httpCaching>
339
+ </requestDispatcher>
340
+
341
+
342
+ <!-- requestHandler plugins... incoming queries will be dispatched to the
343
+ correct handler based on the path or the qt (query type) param.
344
+ Names starting with a '/' are accessed with the a path equal to the
345
+ registered name. Names without a leading '/' are accessed with:
346
+ http://host/app/select?qt=name
347
+ If no qt is defined, the requestHandler that declares default="true"
348
+ will be used.
349
+ -->
350
+ <requestHandler name="standard" class="solr.StandardRequestHandler" default="true">
351
+ <!-- default values for query parameters -->
352
+ <lst name="defaults">
353
+ <str name="echoParams">explicit</str>
354
+ <!--
355
+ <int name="rows">10</int>
356
+ <str name="fl">*</str>
357
+ <str name="version">2.1</str>
358
+ -->
359
+ </lst>
360
+ </requestHandler>
361
+
362
+
363
+ <!-- DisMaxRequestHandler allows easy searching across multiple fields
364
+ for simple user-entered phrases.
365
+ see http://wiki.apache.org/solr/DisMaxRequestHandler
366
+ -->
367
+ <requestHandler name="dismax" class="solr.DisMaxRequestHandler" >
368
+ <lst name="defaults">
369
+ <str name="echoParams">explicit</str>
370
+ <float name="tie">0.01</float>
371
+ <str name="qf">
372
+ text^0.5 features^1.0 name^1.2 sku^1.5 id^10.0 manu^1.1 cat^1.4
373
+ </str>
374
+ <str name="pf">
375
+ text^0.2 features^1.1 name^1.5 manu^1.4 manu_exact^1.9
376
+ </str>
377
+ <str name="bf">
378
+ ord(popularity)^0.5 recip(rord(price),1,1000,1000)^0.3
379
+ </str>
380
+ <str name="fl">
381
+ id,name,price,score
382
+ </str>
383
+ <str name="mm">
384
+ 2&lt;-1 5&lt;-2 6&lt;90%
385
+ </str>
386
+ <int name="ps">100</int>
387
+ <str name="q.alt">*:*</str>
388
+ <!-- example highlighter config, enable per-query with hl=true -->
389
+ <str name="hl.fl">text features name</str>
390
+ <!-- for this field, we want no fragmenting, just highlighting -->
391
+ <str name="f.name.hl.fragsize">0</str>
392
+ <!-- instructs Solr to return the field itself if no query terms are
393
+ found -->
394
+ <str name="f.name.hl.alternateField">name</str>
395
+ <str name="f.text.hl.fragmenter">regex</str> <!-- defined below -->
396
+ </lst>
397
+ </requestHandler>
398
+
399
+ <!-- Note how you can register the same handler multiple times with
400
+ different names (and different init parameters)
401
+ -->
402
+ <requestHandler name="partitioned" class="solr.DisMaxRequestHandler" >
403
+ <lst name="defaults">
404
+ <str name="echoParams">explicit</str>
405
+ <str name="qf">text^0.5 features^1.0 name^1.2 sku^1.5 id^10.0</str>
406
+ <str name="mm">2&lt;-1 5&lt;-2 6&lt;90%</str>
407
+ <!-- This is an example of using Date Math to specify a constantly
408
+ moving date range in a config...
409
+ -->
410
+ <str name="bq">incubationdate_dt:[* TO NOW/DAY-1MONTH]^2.2</str>
411
+ </lst>
412
+ <!-- In addition to defaults, "appends" params can be specified
413
+ to identify values which should be appended to the list of
414
+ multi-val params from the query (or the existing "defaults").
415
+
416
+ In this example, the param "fq=instock:true" will be appended to
417
+ any query time fq params the user may specify, as a mechanism for
418
+ partitioning the index, independent of any user selected filtering
419
+ that may also be desired (perhaps as a result of faceted searching).
420
+
421
+ NOTE: there is *absolutely* nothing a client can do to prevent these
422
+ "appends" values from being used, so don't use this mechanism
423
+ unless you are sure you always want it.
424
+ -->
425
+ <lst name="appends">
426
+ <str name="fq">inStock:true</str>
427
+ </lst>
428
+ <!-- "invariants" are a way of letting the Solr maintainer lock down
429
+ the options available to Solr clients. Any params values
430
+ specified here are used regardless of what values may be specified
431
+ in either the query, the "defaults", or the "appends" params.
432
+
433
+ In this example, the facet.field and facet.query params are fixed,
434
+ limiting the facets clients can use. Faceting is not turned on by
435
+ default - but if the client does specify facet=true in the request,
436
+ these are the only facets they will be able to see counts for;
437
+ regardless of what other facet.field or facet.query params they
438
+ may specify.
439
+
440
+ NOTE: there is *absolutely* nothing a client can do to prevent these
441
+ "invariants" values from being used, so don't use this mechanism
442
+ unless you are sure you always want it.
443
+ -->
444
+ <lst name="invariants">
445
+ <str name="facet.field">cat</str>
446
+ <str name="facet.field">manu_exact</str>
447
+ <str name="facet.query">price:[* TO 500]</str>
448
+ <str name="facet.query">price:[500 TO *]</str>
449
+ </lst>
450
+ </requestHandler>
451
+
452
+ <requestHandler name="instock" class="solr.DisMaxRequestHandler" >
453
+ <!-- for legacy reasons, DisMaxRequestHandler will assume all init
454
+ params are "defaults" if you don't explicitly specify any defaults.
455
+ -->
456
+ <str name="fq">
457
+ inStock:true
458
+ </str>
459
+ <str name="qf">
460
+ text^0.5 features^1.0 name^1.2 sku^1.5 id^10.0 manu^1.1 cat^1.4
461
+ </str>
462
+ <str name="mm">
463
+ 2&lt;-1 5&lt;-2 6&lt;90%
464
+ </str>
465
+ </requestHandler>
466
+
467
+
468
+ <!-- SpellCheckerRequestHandler takes in a word (or several words) as the
469
+ value of the "q" parameter and returns a list of alternative spelling
470
+ suggestions. If invoked with a ...&cmd=rebuild, it will rebuild the
471
+ spellchecker index.
472
+ -->
473
+ <requestHandler name="spellchecker" class="solr.SpellCheckerRequestHandler" startup="lazy">
474
+ <!-- default values for query parameters -->
475
+ <lst name="defaults">
476
+ <int name="suggestionCount">1</int>
477
+ <float name="accuracy">0.5</float>
478
+ </lst>
479
+
480
+ <!-- Main init params for handler -->
481
+
482
+ <!-- The directory where your SpellChecker Index should live. -->
483
+ <!-- May be absolute, or relative to the Solr "dataDir" directory. -->
484
+ <!-- If this option is not specified, a RAM directory will be used -->
485
+ <str name="spellcheckerIndexDir">spell</str>
486
+
487
+ <!-- the field in your schema that you want to be able to build -->
488
+ <!-- your spell index on. This should be a field that uses a very -->
489
+ <!-- simple FieldType without a lot of Analysis (ie: string) -->
490
+ <str name="termSourceField">word</str>
491
+
492
+ </requestHandler>
493
+
494
+ <requestHandler name="/mlt" class="solr.MoreLikeThisHandler">
495
+ <lst name="defaults">
496
+ <str name="mlt.fl">manu,cat</str>
497
+ <int name="mlt.mindf">1</int>
498
+ </lst>
499
+ </requestHandler>
500
+
501
+ <requestHandler name="/dataimport"
502
+ class="org.apache.solr.handler.dataimport.DataImportHandler">
503
+ <lst name="defaults">
504
+ <str name="config">rss-data-config.xml</str>
505
+ </lst>
506
+ </requestHandler>
507
+
508
+ <!--
509
+
510
+ Search components are registered to SolrCore and used by Search Handlers
511
+
512
+ By default, the following components are avaliable:
513
+
514
+ <searchComponent name="query" class="org.apache.solr.handler.component.QueryComponent" />
515
+ <searchComponent name="facet" class="org.apache.solr.handler.component.FacetComponent" />
516
+ <searchComponent name="mlt" class="org.apache.solr.handler.component.MoreLikeThisComponent" />
517
+ <searchComponent name="highlight" class="org.apache.solr.handler.component.HighlightComponent" />
518
+ <searchComponent name="debug" class="org.apache.solr.handler.component.DebugComponent" />
519
+
520
+ If you register a searchComponent to one of the standard names, that will be used instead.
521
+
522
+ -->
523
+
524
+ <requestHandler name="/search" class="org.apache.solr.handler.component.SearchHandler">
525
+ <lst name="defaults">
526
+ <str name="echoParams">explicit</str>
527
+ </lst>
528
+ <!--
529
+ By default, this will register the following components:
530
+
531
+ <arr name="components">
532
+ <str>query</str>
533
+ <str>facet</str>
534
+ <str>mlt</str>
535
+ <str>highlight</str>
536
+ <str>debug</str>
537
+ </arr>
538
+
539
+ To insert handlers before or after the 'standard' components, use:
540
+
541
+ <arr name="first-components">
542
+ <str>first</str>
543
+ </arr>
544
+
545
+ <arr name="last-components">
546
+ <str>last</str>
547
+ </arr>
548
+
549
+ -->
550
+ </requestHandler>
551
+
552
+ <searchComponent name="elevator" class="org.apache.solr.handler.component.QueryElevationComponent" >
553
+ <!-- pick a fieldType to analyze queries -->
554
+ <str name="queryFieldType">string</str>
555
+ <str name="config-file">elevate.xml</str>
556
+ </searchComponent>
557
+
558
+ <requestHandler name="/elevate" class="org.apache.solr.handler.component.SearchHandler" startup="lazy">
559
+ <lst name="defaults">
560
+ <str name="echoParams">explicit</str>
561
+ </lst>
562
+ <arr name="last-components">
563
+ <str>elevator</str>
564
+ </arr>
565
+ </requestHandler>
566
+
567
+
568
+
569
+ <!-- Update request handler.
570
+
571
+ Note: Since solr1.1 requestHandlers requires a valid content type header if posted in
572
+ the body. For example, curl now requires: -H 'Content-type:text/xml; charset=utf-8'
573
+ The response format differs from solr1.1 formatting and returns a standard error code.
574
+
575
+ To enable solr1.1 behavior, remove the /update handler or change its path
576
+
577
+ "update.processor.class" is the class name for the UpdateRequestProcessor. It is initalized
578
+ only once. This can not be changed for each request.
579
+ -->
580
+ <requestHandler name="/update" class="solr.XmlUpdateRequestHandler" >
581
+ <!--
582
+ <str name="update.processor.class">org.apache.solr.handler.UpdateRequestProcessor</str>
583
+ -->
584
+ </requestHandler>
585
+
586
+ <!--
587
+ Analysis request handler. Since Solr 1.3. Use to returnhow a document is analyzed. Useful
588
+ for debugging and as a token server for other types of applications
589
+ -->
590
+ <requestHandler name="/analysis" class="solr.AnalysisRequestHandler" >
591
+ <!--
592
+ <str name="update.processor.class">org.apache.solr.handler.UpdateRequestProcessor</str>
593
+ -->
594
+ </requestHandler>
595
+
596
+ <!-- CSV update handler, loaded on demand -->
597
+ <requestHandler name="/update/csv" class="solr.CSVRequestHandler" startup="lazy" />
598
+
599
+
600
+ <!--
601
+ Admin Handlers - This will register all the standard admin RequestHandlers. Adding
602
+ this single handler is equivolent to registering:
603
+
604
+ <requestHandler name="/admin/luke" class="org.apache.solr.handler.admin.LukeRequestHandler" />
605
+ <requestHandler name="/admin/system" class="org.apache.solr.handler.admin.SystemInfoHandler" />
606
+ <requestHandler name="/admin/plugins" class="org.apache.solr.handler.admin.PluginInfoHandler" />
607
+ <requestHandler name="/admin/threads" class="org.apache.solr.handler.admin.ThreadDumpHandler" />
608
+ <requestHandler name="/admin/properties" class="org.apache.solr.handler.admin.PropertiesRequestHandler" />
609
+ <requestHandler name="/admin/file" class="org.apache.solr.handler.admin.ShowFileRequestHandler" >
610
+
611
+ If you wish to hide files under ${solr.home}/conf, explicitly register the ShowFileRequestHandler using:
612
+ <requestHandler name="/admin/file" class="org.apache.solr.handler.admin.ShowFileRequestHandler" >
613
+ <lst name="invariants">
614
+ <str name="hidden">synonyms.txt</str>
615
+ <str name="hidden">anotherfile.txt</str>
616
+ </lst>
617
+ </requestHandler>
618
+ -->
619
+ <requestHandler name="/admin/" class="org.apache.solr.handler.admin.AdminHandlers" />
620
+
621
+ <!-- ping/healthcheck -->
622
+ <requestHandler name="/admin/ping" class="PingRequestHandler">
623
+ <lst name="defaults">
624
+ <str name="qt">standard</str>
625
+ <str name="q">solrpingquery</str>
626
+ <str name="echoParams">all</str>
627
+ </lst>
628
+ </requestHandler>
629
+
630
+ <!-- Echo the request contents back to the client -->
631
+ <requestHandler name="/debug/dump" class="solr.DumpRequestHandler" >
632
+ <lst name="defaults">
633
+ <str name="echoParams">explicit</str> <!-- for all params (including the default etc) use: 'all' -->
634
+ <str name="echoHandler">true</str>
635
+ </lst>
636
+ </requestHandler>
637
+
638
+ <highlighting>
639
+ <!-- Configure the standard fragmenter -->
640
+ <!-- This could most likely be commented out in the "default" case -->
641
+ <fragmenter name="gap" class="org.apache.solr.highlight.GapFragmenter" default="true">
642
+ <lst name="defaults">
643
+ <int name="hl.fragsize">100</int>
644
+ </lst>
645
+ </fragmenter>
646
+
647
+ <!-- A regular-expression-based fragmenter (f.i., for sentence extraction) -->
648
+ <fragmenter name="regex" class="org.apache.solr.highlight.RegexFragmenter">
649
+ <lst name="defaults">
650
+ <!-- slightly smaller fragsizes work better because of slop -->
651
+ <int name="hl.fragsize">70</int>
652
+ <!-- allow 50% slop on fragment sizes -->
653
+ <float name="hl.regex.slop">0.5</float>
654
+ <!-- a basic sentence pattern -->
655
+ <str name="hl.regex.pattern">[-\w ,/\n\"']{20,200}</str>
656
+ </lst>
657
+ </fragmenter>
658
+
659
+ <!-- Configure the standard formatter
660
+ <formatter name="html" class="org.apache.solr.highlight.HtmlFormatter" default="true">
661
+ <lst name="defaults">
662
+ <str name="hl.simple.pre"><![CDATA[<em>]]></str>
663
+ <str name="hl.simple.post"><![CDATA[</em>]]></str>
664
+ </lst>
665
+ </formatter-->
666
+ </highlighting>
667
+
668
+
669
+ <!-- queryResponseWriter plugins... query responses will be written using the
670
+ writer specified by the 'wt' request parameter matching the name of a registered
671
+ writer.
672
+ The "default" writer is the default and will be used if 'wt' is not specified
673
+ in the request. XMLResponseWriter will be used if nothing is specified here.
674
+ The json, python, and ruby writers are also available by default.
675
+
676
+ <queryResponseWriter name="xml" class="org.apache.solr.request.XMLResponseWriter" default="true"/>
677
+ <queryResponseWriter name="json" class="org.apache.solr.request.JSONResponseWriter"/>
678
+ <queryResponseWriter name="python" class="org.apache.solr.request.PythonResponseWriter"/>
679
+ <queryResponseWriter name="ruby" class="org.apache.solr.request.RubyResponseWriter"/>
680
+ <queryResponseWriter name="php" class="org.apache.solr.request.PHPResponseWriter"/>
681
+ <queryResponseWriter name="phps" class="org.apache.solr.request.PHPSerializedResponseWriter"/>
682
+
683
+ <queryResponseWriter name="custom" class="com.example.MyResponseWriter"/>
684
+ -->
685
+
686
+ <!-- XSLT response writer transforms the XML output by any xslt file found
687
+ in Solr's conf/xslt directory. Changes to xslt files are checked for
688
+ every xsltCacheLifetimeSeconds.
689
+ -->
690
+ <queryResponseWriter name="xslt" class="org.apache.solr.request.XSLTResponseWriter">
691
+ <int name="xsltCacheLifetimeSeconds">5</int>
692
+ </queryResponseWriter>
693
+
694
+ <!-- config for the admin interface -->
695
+ <admin>
696
+ <defaultQuery>*:*</defaultQuery>
697
+
698
+ <!-- configure a healthcheck file for servers behind a loadbalancer
699
+ <healthcheck type="file">server-enabled</healthcheck>
700
+ -->
701
+ </admin>
702
+
703
+ </config>
704
+