mirror of https://github.com/apache/lucene.git
Remove explicitly defined request handlers from example and test solrconfig's that are already defined implicitly
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1684080 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
e332a5ce61
commit
867c75a5d9
|
@ -149,6 +149,9 @@ Other Changes
|
||||||
* SOLR-3719: Add as-you-type "instant search" to example/files /browse.
|
* SOLR-3719: Add as-you-type "instant search" to example/files /browse.
|
||||||
(Esther Quansah, ehatcher)
|
(Esther Quansah, ehatcher)
|
||||||
|
|
||||||
|
* SOLR-7645: Remove explicitly defined request handlers from example and test solrconfig's that are
|
||||||
|
already defined implicitly, such as /admin/ping, /admin/system, and several others. (ehatcher)
|
||||||
|
|
||||||
================== 5.2.0 ==================
|
================== 5.2.0 ==================
|
||||||
|
|
||||||
Consult the LUCENE_CHANGES.txt file for additional, low level, changes in this release
|
Consult the LUCENE_CHANGES.txt file for additional, low level, changes in this release
|
||||||
|
|
|
@ -34,8 +34,6 @@
|
||||||
</arr>
|
</arr>
|
||||||
</requestHandler>
|
</requestHandler>
|
||||||
|
|
||||||
<requestHandler name="/update" class="solr.UpdateRequestHandler" />
|
|
||||||
|
|
||||||
<searchComponent name="analytics" class="org.apache.solr.handler.component.AnalyticsComponent" />
|
<searchComponent name="analytics" class="org.apache.solr.handler.component.AnalyticsComponent" />
|
||||||
|
|
||||||
</config>
|
</config>
|
||||||
|
|
|
@ -415,38 +415,6 @@
|
||||||
</lst>
|
</lst>
|
||||||
</searchComponent>
|
</searchComponent>
|
||||||
|
|
||||||
<!-- Update request handler.
|
|
||||||
|
|
||||||
Note: Since solr1.1 requestHandlers requires a valid content type header if posted in
|
|
||||||
the body. For example, curl now requires: -H 'Content-type:text/xml; charset=utf-8'
|
|
||||||
The response format differs from solr1.1 formatting and returns a standard error code.
|
|
||||||
|
|
||||||
To enable solr1.1 behavior, remove the /update handler or change its path
|
|
||||||
-->
|
|
||||||
<requestHandler name="/update" class="solr.UpdateRequestHandler" />
|
|
||||||
|
|
||||||
|
|
||||||
<!--
|
|
||||||
Admin Handlers - This will register all the standard admin RequestHandlers. Adding
|
|
||||||
this single handler is equivolent to registering:
|
|
||||||
|
|
||||||
<requestHandler name="/admin/luke" class="org.apache.solr.handler.admin.LukeRequestHandler" />
|
|
||||||
<requestHandler name="/admin/system" class="org.apache.solr.handler.admin.SystemInfoHandler" />
|
|
||||||
<requestHandler name="/admin/plugins" class="org.apache.solr.handler.admin.PluginInfoHandler" />
|
|
||||||
<requestHandler name="/admin/threads" class="org.apache.solr.handler.admin.ThreadDumpHandler" />
|
|
||||||
<requestHandler name="/admin/properties" class="org.apache.solr.handler.admin.PropertiesRequestHandler" />
|
|
||||||
<requestHandler name="/admin/file" class="org.apache.solr.handler.admin.ShowFileRequestHandler" >
|
|
||||||
|
|
||||||
If you wish to hide files under ${solr.home}/conf, explicitly register the ShowFileRequestHandler using:
|
|
||||||
<requestHandler name="/admin/file" class="org.apache.solr.handler.admin.ShowFileRequestHandler" >
|
|
||||||
<lst name="invariants">
|
|
||||||
<str name="hidden">synonyms.txt</str>
|
|
||||||
<str name="hidden">anotherfile.txt</str>
|
|
||||||
</lst>
|
|
||||||
</requestHandler>
|
|
||||||
-->
|
|
||||||
<requestHandler name="/admin/" class="org.apache.solr.handler.admin.AdminHandlers" />
|
|
||||||
|
|
||||||
<!-- Echo the request contents back to the client -->
|
<!-- Echo the request contents back to the client -->
|
||||||
<requestHandler name="/debug/dump" class="solr.DumpRequestHandler" >
|
<requestHandler name="/debug/dump" class="solr.DumpRequestHandler" >
|
||||||
<lst name="defaults">
|
<lst name="defaults">
|
||||||
|
|
|
@ -286,24 +286,7 @@
|
||||||
-->
|
-->
|
||||||
</requestHandler>
|
</requestHandler>
|
||||||
|
|
||||||
<!-- Update request handler.
|
<!-- config for the admin interface -->
|
||||||
|
|
||||||
Note: Since solr1.1 requestHandlers requires a valid content type header if posted in
|
|
||||||
the body. For example, curl now requires: -H 'Content-type:text/xml; charset=utf-8'
|
|
||||||
The response format differs from solr1.1 formatting and returns a standard error code.
|
|
||||||
|
|
||||||
To enable solr1.1 behavior, remove the /update handler or change its path
|
|
||||||
|
|
||||||
"update.processor.class" is the class name for the UpdateRequestProcessor. It is initialized
|
|
||||||
only once. This can not be changed for each request.
|
|
||||||
-->
|
|
||||||
<requestHandler name="/update" class="solr.UpdateRequestHandler">
|
|
||||||
<!--
|
|
||||||
<str name="update.processor.class">org.apache.solr.handler.UpdateRequestProcessor</str>
|
|
||||||
-->
|
|
||||||
</requestHandler>
|
|
||||||
|
|
||||||
<!-- config for the admin interface -->
|
|
||||||
<admin>
|
<admin>
|
||||||
<defaultQuery>*:*</defaultQuery>
|
<defaultQuery>*:*</defaultQuery>
|
||||||
</admin>
|
</admin>
|
||||||
|
|
|
@ -289,23 +289,6 @@
|
||||||
|
|
||||||
-->
|
-->
|
||||||
</requestHandler>
|
</requestHandler>
|
||||||
|
|
||||||
<!-- Update request handler.
|
|
||||||
|
|
||||||
Note: Since solr1.1 requestHandlers requires a valid content type header if posted in
|
|
||||||
the body. For example, curl now requires: -H 'Content-type:text/xml; charset=utf-8'
|
|
||||||
The response format differs from solr1.1 formatting and returns a standard error code.
|
|
||||||
|
|
||||||
To enable solr1.1 behavior, remove the /update handler or change its path
|
|
||||||
|
|
||||||
"update.processor.class" is the class name for the UpdateRequestProcessor. It is initialized
|
|
||||||
only once. This can not be changed for each request.
|
|
||||||
-->
|
|
||||||
<requestHandler name="/update" class="solr.UpdateRequestHandler">
|
|
||||||
<!--
|
|
||||||
<str name="update.processor.class">org.apache.solr.handler.UpdateRequestProcessor</str>
|
|
||||||
-->
|
|
||||||
</requestHandler>
|
|
||||||
|
|
||||||
<!-- config for the admin interface -->
|
<!-- config for the admin interface -->
|
||||||
<admin>
|
<admin>
|
||||||
|
|
|
@ -288,24 +288,7 @@
|
||||||
-->
|
-->
|
||||||
</requestHandler>
|
</requestHandler>
|
||||||
|
|
||||||
<!-- Update request handler.
|
<!-- config for the admin interface -->
|
||||||
|
|
||||||
Note: Since solr1.1 requestHandlers requires a valid content type header if posted in
|
|
||||||
the body. For example, curl now requires: -H 'Content-type:text/xml; charset=utf-8'
|
|
||||||
The response format differs from solr1.1 formatting and returns a standard error code.
|
|
||||||
|
|
||||||
To enable solr1.1 behavior, remove the /update handler or change its path
|
|
||||||
|
|
||||||
"update.processor.class" is the class name for the UpdateRequestProcessor. It is initialized
|
|
||||||
only once. This can not be changed for each request.
|
|
||||||
-->
|
|
||||||
<requestHandler name="/update" class="solr.UpdateRequestHandler">
|
|
||||||
<!--
|
|
||||||
<str name="update.processor.class">org.apache.solr.handler.UpdateRequestProcessor</str>
|
|
||||||
-->
|
|
||||||
</requestHandler>
|
|
||||||
|
|
||||||
<!-- config for the admin interface -->
|
|
||||||
<admin>
|
<admin>
|
||||||
<defaultQuery>*:*</defaultQuery>
|
<defaultQuery>*:*</defaultQuery>
|
||||||
</admin>
|
</admin>
|
||||||
|
|
|
@ -288,24 +288,7 @@
|
||||||
|
|
||||||
-->
|
-->
|
||||||
</requestHandler>
|
</requestHandler>
|
||||||
|
|
||||||
<!-- Update request handler.
|
|
||||||
|
|
||||||
Note: Since solr1.1 requestHandlers requires a valid content type header if posted in
|
|
||||||
the body. For example, curl now requires: -H 'Content-type:text/xml; charset=utf-8'
|
|
||||||
The response format differs from solr1.1 formatting and returns a standard error code.
|
|
||||||
|
|
||||||
To enable solr1.1 behavior, remove the /update handler or change its path
|
|
||||||
|
|
||||||
"update.processor.class" is the class name for the UpdateRequestProcessor. It is initialized
|
|
||||||
only once. This can not be changed for each request.
|
|
||||||
-->
|
|
||||||
<requestHandler name="/update" class="solr.UpdateRequestHandler" >
|
|
||||||
<!--
|
|
||||||
<str name="update.processor.class">org.apache.solr.handler.UpdateRequestProcessor</str>
|
|
||||||
-->
|
|
||||||
</requestHandler>
|
|
||||||
|
|
||||||
<!-- config for the admin interface -->
|
<!-- config for the admin interface -->
|
||||||
<admin>
|
<admin>
|
||||||
<defaultQuery>*:*</defaultQuery>
|
<defaultQuery>*:*</defaultQuery>
|
||||||
|
|
|
@ -185,8 +185,6 @@
|
||||||
</lst>
|
</lst>
|
||||||
</requestHandler>
|
</requestHandler>
|
||||||
|
|
||||||
<requestHandler name="/update" class="solr.UpdateRequestHandler" />
|
|
||||||
|
|
||||||
<requestHandler name="/update/extract" class="org.apache.solr.handler.extraction.ExtractingRequestHandler"/>
|
<requestHandler name="/update/extract" class="org.apache.solr.handler.extraction.ExtractingRequestHandler"/>
|
||||||
|
|
||||||
<requestHandler name="/update/extract/lit-def" class="org.apache.solr.handler.extraction.ExtractingRequestHandler">
|
<requestHandler name="/update/extract/lit-def" class="org.apache.solr.handler.extraction.ExtractingRequestHandler">
|
||||||
|
|
|
@ -47,9 +47,6 @@
|
||||||
<bool name="httpCaching">true</bool>
|
<bool name="httpCaching">true</bool>
|
||||||
</requestHandler>
|
</requestHandler>
|
||||||
|
|
||||||
|
|
||||||
<requestHandler name="/admin/" class="org.apache.solr.handler.admin.AdminHandlers" />
|
|
||||||
|
|
||||||
<!-- enable streaming for testing... -->
|
<!-- enable streaming for testing... -->
|
||||||
<requestDispatcher handleSelect="true" >
|
<requestDispatcher handleSelect="true" >
|
||||||
<requestParsers enableRemoteStreaming="true" multipartUploadLimitInKB="2048" />
|
<requestParsers enableRemoteStreaming="true" multipartUploadLimitInKB="2048" />
|
||||||
|
|
|
@ -818,48 +818,6 @@
|
||||||
</lst>
|
</lst>
|
||||||
</requestHandler>
|
</requestHandler>
|
||||||
|
|
||||||
|
|
||||||
<!-- realtime get handler, guaranteed to return the latest stored fields of
|
|
||||||
any document, without the need to commit or open a new searcher. The
|
|
||||||
current implementation relies on the updateLog feature being enabled. -->
|
|
||||||
<requestHandler name="/get" class="solr.RealTimeGetHandler">
|
|
||||||
<lst name="defaults">
|
|
||||||
<str name="omitHeader">true</str>
|
|
||||||
<str name="wt">json</str>
|
|
||||||
<str name="indent">true</str>
|
|
||||||
</lst>
|
|
||||||
</requestHandler>
|
|
||||||
|
|
||||||
|
|
||||||
<!-- Update Request Handler.
|
|
||||||
|
|
||||||
http://wiki.apache.org/solr/UpdateXmlMessages
|
|
||||||
|
|
||||||
The canonical Request Handler for Modifying the Index through
|
|
||||||
commands specified using XML, JSON, CSV, or JAVABIN
|
|
||||||
|
|
||||||
Note: Since solr1.1 requestHandlers requires a valid content
|
|
||||||
type header if posted in the body. For example, curl now
|
|
||||||
requires: -H 'Content-type:text/xml; charset=utf-8'
|
|
||||||
|
|
||||||
To override the request content type and force a specific
|
|
||||||
Content-type, use the request parameter:
|
|
||||||
?update.contentType=text/csv
|
|
||||||
|
|
||||||
This handler will pick a response format to match the input
|
|
||||||
if the 'wt' parameter is not explicit
|
|
||||||
-->
|
|
||||||
<requestHandler name="/update" class="solr.UpdateRequestHandler">
|
|
||||||
<!-- See below for information on defining
|
|
||||||
updateRequestProcessorChains that can be used by name
|
|
||||||
on each Update Request
|
|
||||||
-->
|
|
||||||
<!--
|
|
||||||
<lst name="defaults">
|
|
||||||
<str name="update.chain">dedupe</str>
|
|
||||||
</lst>
|
|
||||||
-->
|
|
||||||
</requestHandler>
|
|
||||||
<!-- Field Analysis Request Handler
|
<!-- Field Analysis Request Handler
|
||||||
|
|
||||||
RequestHandler that provides much the same functionality as
|
RequestHandler that provides much the same functionality as
|
||||||
|
@ -917,51 +875,6 @@
|
||||||
class="solr.DocumentAnalysisRequestHandler"
|
class="solr.DocumentAnalysisRequestHandler"
|
||||||
startup="lazy" />
|
startup="lazy" />
|
||||||
|
|
||||||
<!-- Admin Handlers
|
|
||||||
|
|
||||||
Admin Handlers - This will register all the standard admin
|
|
||||||
RequestHandlers.
|
|
||||||
-->
|
|
||||||
<requestHandler name="/admin/"
|
|
||||||
class="solr.admin.AdminHandlers" />
|
|
||||||
<!-- This single handler is equivalent to the following... -->
|
|
||||||
<!--
|
|
||||||
<requestHandler name="/admin/luke" class="solr.admin.LukeRequestHandler" />
|
|
||||||
<requestHandler name="/admin/system" class="solr.admin.SystemInfoHandler" />
|
|
||||||
<requestHandler name="/admin/plugins" class="solr.admin.PluginInfoHandler" />
|
|
||||||
<requestHandler name="/admin/threads" class="solr.admin.ThreadDumpHandler" />
|
|
||||||
<requestHandler name="/admin/properties" class="solr.admin.PropertiesRequestHandler" />
|
|
||||||
<requestHandler name="/admin/file" class="solr.admin.ShowFileRequestHandler" >
|
|
||||||
-->
|
|
||||||
<!-- If you wish to hide files under ${solr.home}/conf, explicitly
|
|
||||||
register the ShowFileRequestHandler using:
|
|
||||||
-->
|
|
||||||
<!--
|
|
||||||
<requestHandler name="/admin/file"
|
|
||||||
class="solr.admin.ShowFileRequestHandler" >
|
|
||||||
<lst name="invariants">
|
|
||||||
<str name="hidden">synonyms.txt</str>
|
|
||||||
<str name="hidden">anotherfile.txt</str>
|
|
||||||
</lst>
|
|
||||||
</requestHandler>
|
|
||||||
-->
|
|
||||||
|
|
||||||
<!-- ping/healthcheck -->
|
|
||||||
<requestHandler name="/admin/ping" class="solr.PingRequestHandler">
|
|
||||||
<lst name="invariants">
|
|
||||||
<str name="q">solrpingquery</str>
|
|
||||||
</lst>
|
|
||||||
<lst name="defaults">
|
|
||||||
<str name="echoParams">all</str>
|
|
||||||
</lst>
|
|
||||||
<!-- An optional feature of the PingRequestHandler is to configure the
|
|
||||||
handler with a "healthcheckFile" which can be used to enable/disable
|
|
||||||
the PingRequestHandler.
|
|
||||||
relative paths are resolved against the data dir
|
|
||||||
-->
|
|
||||||
<!-- <str name="healthcheckFile">server-enabled.txt</str> -->
|
|
||||||
</requestHandler>
|
|
||||||
|
|
||||||
<!-- Echo the request contents back to the client -->
|
<!-- Echo the request contents back to the client -->
|
||||||
<requestHandler name="/debug/dump" class="solr.DumpRequestHandler" >
|
<requestHandler name="/debug/dump" class="solr.DumpRequestHandler" >
|
||||||
<lst name="defaults">
|
<lst name="defaults">
|
||||||
|
@ -970,41 +883,6 @@
|
||||||
</lst>
|
</lst>
|
||||||
</requestHandler>
|
</requestHandler>
|
||||||
|
|
||||||
<!-- Solr Replication
|
|
||||||
|
|
||||||
The SolrReplicationHandler supports replicating indexes from a
|
|
||||||
"master" used for indexing and "slaves" used for queries.
|
|
||||||
|
|
||||||
http://wiki.apache.org/solr/SolrReplication
|
|
||||||
|
|
||||||
It is also necessary for SolrCloud to function (in Cloud mode, the
|
|
||||||
replication handler is used to bulk transfer segments when nodes
|
|
||||||
are added or need to recover).
|
|
||||||
|
|
||||||
https://wiki.apache.org/solr/SolrCloud/
|
|
||||||
-->
|
|
||||||
<requestHandler name="/replication" class="solr.ReplicationHandler" >
|
|
||||||
<!--
|
|
||||||
To enable simple master/slave replication, uncomment one of the
|
|
||||||
sections below, depending on whether this solr instance should be
|
|
||||||
the "master" or a "slave". If this instance is a "slave" you will
|
|
||||||
also need to fill in the masterUrl to point to a real machine.
|
|
||||||
-->
|
|
||||||
<!--
|
|
||||||
<lst name="master">
|
|
||||||
<str name="replicateAfter">commit</str>
|
|
||||||
<str name="replicateAfter">startup</str>
|
|
||||||
<str name="confFiles">schema.xml,stopwords.txt</str>
|
|
||||||
</lst>
|
|
||||||
-->
|
|
||||||
<!--
|
|
||||||
<lst name="slave">
|
|
||||||
<str name="masterUrl">http://your-master-hostname:8983/solr</str>
|
|
||||||
<str name="pollInterval">00:00:60</str>
|
|
||||||
</lst>
|
|
||||||
-->
|
|
||||||
</requestHandler>
|
|
||||||
|
|
||||||
<!-- Search Components
|
<!-- Search Components
|
||||||
|
|
||||||
Search components are registered to SolrCore and used by
|
Search components are registered to SolrCore and used by
|
||||||
|
|
|
@ -837,48 +837,6 @@
|
||||||
</lst>
|
</lst>
|
||||||
</requestHandler>
|
</requestHandler>
|
||||||
|
|
||||||
|
|
||||||
<!-- realtime get handler, guaranteed to return the latest stored fields of
|
|
||||||
any document, without the need to commit or open a new searcher. The
|
|
||||||
current implementation relies on the updateLog feature being enabled. -->
|
|
||||||
<requestHandler name="/get" class="solr.RealTimeGetHandler">
|
|
||||||
<lst name="defaults">
|
|
||||||
<str name="omitHeader">true</str>
|
|
||||||
<str name="wt">json</str>
|
|
||||||
<str name="indent">true</str>
|
|
||||||
</lst>
|
|
||||||
</requestHandler>
|
|
||||||
|
|
||||||
<!-- Update Request Handler.
|
|
||||||
|
|
||||||
http://wiki.apache.org/solr/UpdateXmlMessages
|
|
||||||
|
|
||||||
The canonical Request Handler for Modifying the Index through
|
|
||||||
commands specified using XML, JSON, CSV, or JAVABIN
|
|
||||||
|
|
||||||
Note: Since solr1.1 requestHandlers requires a valid content
|
|
||||||
type header if posted in the body. For example, curl now
|
|
||||||
requires: -H 'Content-type:text/xml; charset=utf-8'
|
|
||||||
|
|
||||||
To override the request content type and force a specific
|
|
||||||
Content-type, use the request parameter:
|
|
||||||
?update.contentType=text/csv
|
|
||||||
|
|
||||||
This handler will pick a response format to match the input
|
|
||||||
if the 'wt' parameter is not explicit
|
|
||||||
-->
|
|
||||||
<requestHandler name="/update" class="solr.UpdateRequestHandler">
|
|
||||||
<!-- See below for information on defining
|
|
||||||
updateRequestProcessorChains that can be used by name
|
|
||||||
on each Update Request
|
|
||||||
-->
|
|
||||||
<!--
|
|
||||||
<lst name="defaults">
|
|
||||||
<str name="update.chain">dedupe</str>
|
|
||||||
</lst>
|
|
||||||
-->
|
|
||||||
</requestHandler>
|
|
||||||
|
|
||||||
<!-- Field Analysis Request Handler
|
<!-- Field Analysis Request Handler
|
||||||
|
|
||||||
RequestHandler that provides much the same functionality as
|
RequestHandler that provides much the same functionality as
|
||||||
|
@ -936,51 +894,6 @@
|
||||||
class="solr.DocumentAnalysisRequestHandler"
|
class="solr.DocumentAnalysisRequestHandler"
|
||||||
startup="lazy" />
|
startup="lazy" />
|
||||||
|
|
||||||
<!-- Admin Handlers
|
|
||||||
|
|
||||||
Admin Handlers - This will register all the standard admin
|
|
||||||
RequestHandlers.
|
|
||||||
-->
|
|
||||||
<requestHandler name="/admin/"
|
|
||||||
class="solr.admin.AdminHandlers" />
|
|
||||||
<!-- This single handler is equivalent to the following... -->
|
|
||||||
<!--
|
|
||||||
<requestHandler name="/admin/luke" class="solr.admin.LukeRequestHandler" />
|
|
||||||
<requestHandler name="/admin/system" class="solr.admin.SystemInfoHandler" />
|
|
||||||
<requestHandler name="/admin/plugins" class="solr.admin.PluginInfoHandler" />
|
|
||||||
<requestHandler name="/admin/threads" class="solr.admin.ThreadDumpHandler" />
|
|
||||||
<requestHandler name="/admin/properties" class="solr.admin.PropertiesRequestHandler" />
|
|
||||||
<requestHandler name="/admin/file" class="solr.admin.ShowFileRequestHandler" >
|
|
||||||
-->
|
|
||||||
<!-- If you wish to hide files under ${solr.home}/conf, explicitly
|
|
||||||
register the ShowFileRequestHandler using:
|
|
||||||
-->
|
|
||||||
<!--
|
|
||||||
<requestHandler name="/admin/file"
|
|
||||||
class="solr.admin.ShowFileRequestHandler" >
|
|
||||||
<lst name="invariants">
|
|
||||||
<str name="hidden">synonyms.txt</str>
|
|
||||||
<str name="hidden">anotherfile.txt</str>
|
|
||||||
</lst>
|
|
||||||
</requestHandler>
|
|
||||||
-->
|
|
||||||
|
|
||||||
<!-- ping/healthcheck -->
|
|
||||||
<requestHandler name="/admin/ping" class="solr.PingRequestHandler">
|
|
||||||
<lst name="invariants">
|
|
||||||
<str name="q">solrpingquery</str>
|
|
||||||
</lst>
|
|
||||||
<lst name="defaults">
|
|
||||||
<str name="echoParams">all</str>
|
|
||||||
</lst>
|
|
||||||
<!-- An optional feature of the PingRequestHandler is to configure the
|
|
||||||
handler with a "healthcheckFile" which can be used to enable/disable
|
|
||||||
the PingRequestHandler.
|
|
||||||
relative paths are resolved against the data dir
|
|
||||||
-->
|
|
||||||
<!-- <str name="healthcheckFile">server-enabled.txt</str> -->
|
|
||||||
</requestHandler>
|
|
||||||
|
|
||||||
<!-- Echo the request contents back to the client -->
|
<!-- Echo the request contents back to the client -->
|
||||||
<requestHandler name="/debug/dump" class="solr.DumpRequestHandler" >
|
<requestHandler name="/debug/dump" class="solr.DumpRequestHandler" >
|
||||||
<lst name="defaults">
|
<lst name="defaults">
|
||||||
|
@ -989,41 +902,6 @@
|
||||||
</lst>
|
</lst>
|
||||||
</requestHandler>
|
</requestHandler>
|
||||||
|
|
||||||
<!-- Solr Replication
|
|
||||||
|
|
||||||
The SolrReplicationHandler supports replicating indexes from a
|
|
||||||
"master" used for indexing and "slaves" used for queries.
|
|
||||||
|
|
||||||
http://wiki.apache.org/solr/SolrReplication
|
|
||||||
|
|
||||||
It is also necessary for SolrCloud to function (in Cloud mode, the
|
|
||||||
replication handler is used to bulk transfer segments when nodes
|
|
||||||
are added or need to recover).
|
|
||||||
|
|
||||||
https://wiki.apache.org/solr/SolrCloud/
|
|
||||||
-->
|
|
||||||
<requestHandler name="/replication" class="solr.ReplicationHandler" >
|
|
||||||
<!--
|
|
||||||
To enable simple master/slave replication, uncomment one of the
|
|
||||||
sections below, depending on whether this solr instance should be
|
|
||||||
the "master" or a "slave". If this instance is a "slave" you will
|
|
||||||
also need to fill in the masterUrl to point to a real machine.
|
|
||||||
-->
|
|
||||||
<!--
|
|
||||||
<lst name="master">
|
|
||||||
<str name="replicateAfter">commit</str>
|
|
||||||
<str name="replicateAfter">startup</str>
|
|
||||||
<str name="confFiles">schema.xml,stopwords.txt</str>
|
|
||||||
</lst>
|
|
||||||
-->
|
|
||||||
<!--
|
|
||||||
<lst name="slave">
|
|
||||||
<str name="masterUrl">http://your-master-hostname:8983/solr</str>
|
|
||||||
<str name="pollInterval">00:00:60</str>
|
|
||||||
</lst>
|
|
||||||
-->
|
|
||||||
</requestHandler>
|
|
||||||
|
|
||||||
<!-- Search Components
|
<!-- Search Components
|
||||||
|
|
||||||
Search components are registered to SolrCore and used by
|
Search components are registered to SolrCore and used by
|
||||||
|
|
|
@ -841,19 +841,6 @@
|
||||||
</lst>
|
</lst>
|
||||||
</requestHandler>
|
</requestHandler>
|
||||||
|
|
||||||
|
|
||||||
<!-- realtime get handler, guaranteed to return the latest stored fields of
|
|
||||||
any document, without the need to commit or open a new searcher. The
|
|
||||||
current implementation relies on the updateLog feature being enabled. -->
|
|
||||||
<requestHandler name="/get" class="solr.RealTimeGetHandler">
|
|
||||||
<lst name="defaults">
|
|
||||||
<str name="omitHeader">true</str>
|
|
||||||
<str name="wt">json</str>
|
|
||||||
<str name="indent">true</str>
|
|
||||||
</lst>
|
|
||||||
</requestHandler>
|
|
||||||
|
|
||||||
|
|
||||||
<!-- Field Analysis Request Handler
|
<!-- Field Analysis Request Handler
|
||||||
|
|
||||||
RequestHandler that provides much the same functionality as
|
RequestHandler that provides much the same functionality as
|
||||||
|
@ -911,51 +898,6 @@
|
||||||
class="solr.DocumentAnalysisRequestHandler"
|
class="solr.DocumentAnalysisRequestHandler"
|
||||||
startup="lazy" />
|
startup="lazy" />
|
||||||
|
|
||||||
<!-- Admin Handlers
|
|
||||||
|
|
||||||
Admin Handlers - This will register all the standard admin
|
|
||||||
RequestHandlers.
|
|
||||||
-->
|
|
||||||
<requestHandler name="/admin/"
|
|
||||||
class="solr.admin.AdminHandlers" />
|
|
||||||
<!-- This single handler is equivalent to the following... -->
|
|
||||||
<!--
|
|
||||||
<requestHandler name="/admin/luke" class="solr.admin.LukeRequestHandler" />
|
|
||||||
<requestHandler name="/admin/system" class="solr.admin.SystemInfoHandler" />
|
|
||||||
<requestHandler name="/admin/plugins" class="solr.admin.PluginInfoHandler" />
|
|
||||||
<requestHandler name="/admin/threads" class="solr.admin.ThreadDumpHandler" />
|
|
||||||
<requestHandler name="/admin/properties" class="solr.admin.PropertiesRequestHandler" />
|
|
||||||
<requestHandler name="/admin/file" class="solr.admin.ShowFileRequestHandler" >
|
|
||||||
-->
|
|
||||||
<!-- If you wish to hide files under ${solr.home}/conf, explicitly
|
|
||||||
register the ShowFileRequestHandler using:
|
|
||||||
-->
|
|
||||||
<!--
|
|
||||||
<requestHandler name="/admin/file"
|
|
||||||
class="solr.admin.ShowFileRequestHandler" >
|
|
||||||
<lst name="invariants">
|
|
||||||
<str name="hidden">synonyms.txt</str>
|
|
||||||
<str name="hidden">anotherfile.txt</str>
|
|
||||||
</lst>
|
|
||||||
</requestHandler>
|
|
||||||
-->
|
|
||||||
|
|
||||||
<!-- ping/healthcheck -->
|
|
||||||
<requestHandler name="/admin/ping" class="solr.PingRequestHandler">
|
|
||||||
<lst name="invariants">
|
|
||||||
<str name="q">solrpingquery</str>
|
|
||||||
</lst>
|
|
||||||
<lst name="defaults">
|
|
||||||
<str name="echoParams">all</str>
|
|
||||||
</lst>
|
|
||||||
<!-- An optional feature of the PingRequestHandler is to configure the
|
|
||||||
handler with a "healthcheckFile" which can be used to enable/disable
|
|
||||||
the PingRequestHandler.
|
|
||||||
relative paths are resolved against the data dir
|
|
||||||
-->
|
|
||||||
<!-- <str name="healthcheckFile">server-enabled.txt</str> -->
|
|
||||||
</requestHandler>
|
|
||||||
|
|
||||||
<!-- Echo the request contents back to the client -->
|
<!-- Echo the request contents back to the client -->
|
||||||
<requestHandler name="/debug/dump" class="solr.DumpRequestHandler" >
|
<requestHandler name="/debug/dump" class="solr.DumpRequestHandler" >
|
||||||
<lst name="defaults">
|
<lst name="defaults">
|
||||||
|
@ -964,41 +906,6 @@
|
||||||
</lst>
|
</lst>
|
||||||
</requestHandler>
|
</requestHandler>
|
||||||
|
|
||||||
<!-- Solr Replication
|
|
||||||
|
|
||||||
The SolrReplicationHandler supports replicating indexes from a
|
|
||||||
"master" used for indexing and "slaves" used for queries.
|
|
||||||
|
|
||||||
http://wiki.apache.org/solr/SolrReplication
|
|
||||||
|
|
||||||
It is also necessary for SolrCloud to function (in Cloud mode, the
|
|
||||||
replication handler is used to bulk transfer segments when nodes
|
|
||||||
are added or need to recover).
|
|
||||||
|
|
||||||
https://wiki.apache.org/solr/SolrCloud/
|
|
||||||
-->
|
|
||||||
<requestHandler name="/replication" class="solr.ReplicationHandler" >
|
|
||||||
<!--
|
|
||||||
To enable simple master/slave replication, uncomment one of the
|
|
||||||
sections below, depending on whether this solr instance should be
|
|
||||||
the "master" or a "slave". If this instance is a "slave" you will
|
|
||||||
also need to fill in the masterUrl to point to a real machine.
|
|
||||||
-->
|
|
||||||
<!--
|
|
||||||
<lst name="master">
|
|
||||||
<str name="replicateAfter">commit</str>
|
|
||||||
<str name="replicateAfter">startup</str>
|
|
||||||
<str name="confFiles">schema.xml,stopwords.txt</str>
|
|
||||||
</lst>
|
|
||||||
-->
|
|
||||||
<!--
|
|
||||||
<lst name="slave">
|
|
||||||
<str name="masterUrl">http://your-master-hostname:8983/solr</str>
|
|
||||||
<str name="pollInterval">00:00:60</str>
|
|
||||||
</lst>
|
|
||||||
-->
|
|
||||||
</requestHandler>
|
|
||||||
|
|
||||||
<!-- Search Components
|
<!-- Search Components
|
||||||
|
|
||||||
Search components are registered to SolrCore and used by
|
Search components are registered to SolrCore and used by
|
||||||
|
|
|
@ -818,61 +818,6 @@
|
||||||
</lst>
|
</lst>
|
||||||
</requestHandler>
|
</requestHandler>
|
||||||
|
|
||||||
|
|
||||||
<!-- realtime get handler, guaranteed to return the latest stored fields of
|
|
||||||
any document, without the need to commit or open a new searcher. The
|
|
||||||
current implementation relies on the updateLog feature being enabled. -->
|
|
||||||
<requestHandler name="/get" class="solr.RealTimeGetHandler">
|
|
||||||
<lst name="defaults">
|
|
||||||
<str name="omitHeader">true</str>
|
|
||||||
<str name="wt">json</str>
|
|
||||||
<str name="indent">true</str>
|
|
||||||
</lst>
|
|
||||||
</requestHandler>
|
|
||||||
|
|
||||||
|
|
||||||
<!-- Update Request Handler.
|
|
||||||
|
|
||||||
http://wiki.apache.org/solr/UpdateXmlMessages
|
|
||||||
|
|
||||||
The canonical Request Handler for Modifying the Index through
|
|
||||||
commands specified using XML, JSON, CSV, or JAVABIN
|
|
||||||
|
|
||||||
Note: Since solr1.1 requestHandlers requires a valid content
|
|
||||||
type header if posted in the body. For example, curl now
|
|
||||||
requires: -H 'Content-type:text/xml; charset=utf-8'
|
|
||||||
|
|
||||||
To override the request content type and force a specific
|
|
||||||
Content-type, use the request parameter:
|
|
||||||
?update.contentType=text/csv
|
|
||||||
|
|
||||||
This handler will pick a response format to match the input
|
|
||||||
if the 'wt' parameter is not explicit
|
|
||||||
-->
|
|
||||||
<requestHandler name="/update" class="solr.UpdateRequestHandler">
|
|
||||||
<!-- See below for information on defining
|
|
||||||
updateRequestProcessorChains that can be used by name
|
|
||||||
on each Update Request
|
|
||||||
-->
|
|
||||||
<!--
|
|
||||||
<lst name="defaults">
|
|
||||||
<str name="update.chain">dedupe</str>
|
|
||||||
</lst>
|
|
||||||
-->
|
|
||||||
</requestHandler>
|
|
||||||
|
|
||||||
<!-- for back compat with clients using /update/json and /update/csv -->
|
|
||||||
<requestHandler name="/update/json" class="solr.JsonUpdateRequestHandler">
|
|
||||||
<lst name="defaults">
|
|
||||||
<str name="stream.contentType">application/json</str>
|
|
||||||
</lst>
|
|
||||||
</requestHandler>
|
|
||||||
<requestHandler name="/update/csv" class="solr.CSVRequestHandler">
|
|
||||||
<lst name="defaults">
|
|
||||||
<str name="stream.contentType">application/csv</str>
|
|
||||||
</lst>
|
|
||||||
</requestHandler>
|
|
||||||
|
|
||||||
<!-- Field Analysis Request Handler
|
<!-- Field Analysis Request Handler
|
||||||
|
|
||||||
RequestHandler that provides much the same functionality as
|
RequestHandler that provides much the same functionality as
|
||||||
|
@ -930,51 +875,6 @@
|
||||||
class="solr.DocumentAnalysisRequestHandler"
|
class="solr.DocumentAnalysisRequestHandler"
|
||||||
startup="lazy" />
|
startup="lazy" />
|
||||||
|
|
||||||
<!-- Admin Handlers
|
|
||||||
|
|
||||||
Admin Handlers - This will register all the standard admin
|
|
||||||
RequestHandlers.
|
|
||||||
-->
|
|
||||||
<requestHandler name="/admin/"
|
|
||||||
class="solr.admin.AdminHandlers" />
|
|
||||||
<!-- This single handler is equivalent to the following... -->
|
|
||||||
<!--
|
|
||||||
<requestHandler name="/admin/luke" class="solr.admin.LukeRequestHandler" />
|
|
||||||
<requestHandler name="/admin/system" class="solr.admin.SystemInfoHandler" />
|
|
||||||
<requestHandler name="/admin/plugins" class="solr.admin.PluginInfoHandler" />
|
|
||||||
<requestHandler name="/admin/threads" class="solr.admin.ThreadDumpHandler" />
|
|
||||||
<requestHandler name="/admin/properties" class="solr.admin.PropertiesRequestHandler" />
|
|
||||||
<requestHandler name="/admin/file" class="solr.admin.ShowFileRequestHandler" >
|
|
||||||
-->
|
|
||||||
<!-- If you wish to hide files under ${solr.home}/conf, explicitly
|
|
||||||
register the ShowFileRequestHandler using:
|
|
||||||
-->
|
|
||||||
<!--
|
|
||||||
<requestHandler name="/admin/file"
|
|
||||||
class="solr.admin.ShowFileRequestHandler" >
|
|
||||||
<lst name="invariants">
|
|
||||||
<str name="hidden">synonyms.txt</str>
|
|
||||||
<str name="hidden">anotherfile.txt</str>
|
|
||||||
</lst>
|
|
||||||
</requestHandler>
|
|
||||||
-->
|
|
||||||
|
|
||||||
<!-- ping/healthcheck -->
|
|
||||||
<requestHandler name="/admin/ping" class="solr.PingRequestHandler">
|
|
||||||
<lst name="invariants">
|
|
||||||
<str name="q">solrpingquery</str>
|
|
||||||
</lst>
|
|
||||||
<lst name="defaults">
|
|
||||||
<str name="echoParams">all</str>
|
|
||||||
</lst>
|
|
||||||
<!-- An optional feature of the PingRequestHandler is to configure the
|
|
||||||
handler with a "healthcheckFile" which can be used to enable/disable
|
|
||||||
the PingRequestHandler.
|
|
||||||
relative paths are resolved against the data dir
|
|
||||||
-->
|
|
||||||
<!-- <str name="healthcheckFile">server-enabled.txt</str> -->
|
|
||||||
</requestHandler>
|
|
||||||
|
|
||||||
<!-- Echo the request contents back to the client -->
|
<!-- Echo the request contents back to the client -->
|
||||||
<requestHandler name="/debug/dump" class="solr.DumpRequestHandler" >
|
<requestHandler name="/debug/dump" class="solr.DumpRequestHandler" >
|
||||||
<lst name="defaults">
|
<lst name="defaults">
|
||||||
|
@ -983,41 +883,6 @@
|
||||||
</lst>
|
</lst>
|
||||||
</requestHandler>
|
</requestHandler>
|
||||||
|
|
||||||
<!-- Solr Replication
|
|
||||||
|
|
||||||
The SolrReplicationHandler supports replicating indexes from a
|
|
||||||
"master" used for indexing and "slaves" used for queries.
|
|
||||||
|
|
||||||
http://wiki.apache.org/solr/SolrReplication
|
|
||||||
|
|
||||||
It is also necessary for SolrCloud to function (in Cloud mode, the
|
|
||||||
replication handler is used to bulk transfer segments when nodes
|
|
||||||
are added or need to recover).
|
|
||||||
|
|
||||||
https://wiki.apache.org/solr/SolrCloud/
|
|
||||||
-->
|
|
||||||
<requestHandler name="/replication" class="solr.ReplicationHandler" >
|
|
||||||
<!--
|
|
||||||
To enable simple master/slave replication, uncomment one of the
|
|
||||||
sections below, depending on whether this solr instance should be
|
|
||||||
the "master" or a "slave". If this instance is a "slave" you will
|
|
||||||
also need to fill in the masterUrl to point to a real machine.
|
|
||||||
-->
|
|
||||||
<!--
|
|
||||||
<lst name="master">
|
|
||||||
<str name="replicateAfter">commit</str>
|
|
||||||
<str name="replicateAfter">startup</str>
|
|
||||||
<str name="confFiles">schema.xml,stopwords.txt</str>
|
|
||||||
</lst>
|
|
||||||
-->
|
|
||||||
<!--
|
|
||||||
<lst name="slave">
|
|
||||||
<str name="masterUrl">http://your-master-hostname:8983/solr</str>
|
|
||||||
<str name="pollInterval">00:00:60</str>
|
|
||||||
</lst>
|
|
||||||
-->
|
|
||||||
</requestHandler>
|
|
||||||
|
|
||||||
<!-- Search Components
|
<!-- Search Components
|
||||||
|
|
||||||
Search components are registered to SolrCore and used by
|
Search components are registered to SolrCore and used by
|
||||||
|
|
|
@ -840,19 +840,6 @@
|
||||||
</lst>
|
</lst>
|
||||||
</requestHandler>
|
</requestHandler>
|
||||||
|
|
||||||
|
|
||||||
<!-- realtime get handler, guaranteed to return the latest stored fields of
|
|
||||||
any document, without the need to commit or open a new searcher. The
|
|
||||||
current implementation relies on the updateLog feature being enabled. -->
|
|
||||||
<requestHandler name="/get" class="solr.RealTimeGetHandler">
|
|
||||||
<lst name="defaults">
|
|
||||||
<str name="omitHeader">true</str>
|
|
||||||
<str name="wt">json</str>
|
|
||||||
<str name="indent">true</str>
|
|
||||||
</lst>
|
|
||||||
</requestHandler>
|
|
||||||
|
|
||||||
|
|
||||||
<!-- Field Analysis Request Handler
|
<!-- Field Analysis Request Handler
|
||||||
|
|
||||||
RequestHandler that provides much the same functionality as
|
RequestHandler that provides much the same functionality as
|
||||||
|
@ -910,51 +897,6 @@
|
||||||
class="solr.DocumentAnalysisRequestHandler"
|
class="solr.DocumentAnalysisRequestHandler"
|
||||||
startup="lazy" />
|
startup="lazy" />
|
||||||
|
|
||||||
<!-- Admin Handlers
|
|
||||||
|
|
||||||
Admin Handlers - This will register all the standard admin
|
|
||||||
RequestHandlers.
|
|
||||||
-->
|
|
||||||
<requestHandler name="/admin/"
|
|
||||||
class="solr.admin.AdminHandlers" />
|
|
||||||
<!-- This single handler is equivalent to the following... -->
|
|
||||||
<!--
|
|
||||||
<requestHandler name="/admin/luke" class="solr.admin.LukeRequestHandler" />
|
|
||||||
<requestHandler name="/admin/system" class="solr.admin.SystemInfoHandler" />
|
|
||||||
<requestHandler name="/admin/plugins" class="solr.admin.PluginInfoHandler" />
|
|
||||||
<requestHandler name="/admin/threads" class="solr.admin.ThreadDumpHandler" />
|
|
||||||
<requestHandler name="/admin/properties" class="solr.admin.PropertiesRequestHandler" />
|
|
||||||
<requestHandler name="/admin/file" class="solr.admin.ShowFileRequestHandler" >
|
|
||||||
-->
|
|
||||||
<!-- If you wish to hide files under ${solr.home}/conf, explicitly
|
|
||||||
register the ShowFileRequestHandler using:
|
|
||||||
-->
|
|
||||||
<!--
|
|
||||||
<requestHandler name="/admin/file"
|
|
||||||
class="solr.admin.ShowFileRequestHandler" >
|
|
||||||
<lst name="invariants">
|
|
||||||
<str name="hidden">synonyms.txt</str>
|
|
||||||
<str name="hidden">anotherfile.txt</str>
|
|
||||||
</lst>
|
|
||||||
</requestHandler>
|
|
||||||
-->
|
|
||||||
|
|
||||||
<!-- ping/healthcheck -->
|
|
||||||
<requestHandler name="/admin/ping" class="solr.PingRequestHandler">
|
|
||||||
<lst name="invariants">
|
|
||||||
<str name="q">solrpingquery</str>
|
|
||||||
</lst>
|
|
||||||
<lst name="defaults">
|
|
||||||
<str name="echoParams">all</str>
|
|
||||||
</lst>
|
|
||||||
<!-- An optional feature of the PingRequestHandler is to configure the
|
|
||||||
handler with a "healthcheckFile" which can be used to enable/disable
|
|
||||||
the PingRequestHandler.
|
|
||||||
relative paths are resolved against the data dir
|
|
||||||
-->
|
|
||||||
<!-- <str name="healthcheckFile">server-enabled.txt</str> -->
|
|
||||||
</requestHandler>
|
|
||||||
|
|
||||||
<!-- Echo the request contents back to the client -->
|
<!-- Echo the request contents back to the client -->
|
||||||
<requestHandler name="/debug/dump" class="solr.DumpRequestHandler" >
|
<requestHandler name="/debug/dump" class="solr.DumpRequestHandler" >
|
||||||
<lst name="defaults">
|
<lst name="defaults">
|
||||||
|
@ -963,41 +905,6 @@
|
||||||
</lst>
|
</lst>
|
||||||
</requestHandler>
|
</requestHandler>
|
||||||
|
|
||||||
<!-- Solr Replication
|
|
||||||
|
|
||||||
The SolrReplicationHandler supports replicating indexes from a
|
|
||||||
"master" used for indexing and "slaves" used for queries.
|
|
||||||
|
|
||||||
http://wiki.apache.org/solr/SolrReplication
|
|
||||||
|
|
||||||
It is also necessary for SolrCloud to function (in Cloud mode, the
|
|
||||||
replication handler is used to bulk transfer segments when nodes
|
|
||||||
are added or need to recover).
|
|
||||||
|
|
||||||
https://wiki.apache.org/solr/SolrCloud/
|
|
||||||
-->
|
|
||||||
<requestHandler name="/replication" class="solr.ReplicationHandler" >
|
|
||||||
<!--
|
|
||||||
To enable simple master/slave replication, uncomment one of the
|
|
||||||
sections below, depending on whether this solr instance should be
|
|
||||||
the "master" or a "slave". If this instance is a "slave" you will
|
|
||||||
also need to fill in the masterUrl to point to a real machine.
|
|
||||||
-->
|
|
||||||
<!--
|
|
||||||
<lst name="master">
|
|
||||||
<str name="replicateAfter">commit</str>
|
|
||||||
<str name="replicateAfter">startup</str>
|
|
||||||
<str name="confFiles">schema.xml,stopwords.txt</str>
|
|
||||||
</lst>
|
|
||||||
-->
|
|
||||||
<!--
|
|
||||||
<lst name="slave">
|
|
||||||
<str name="masterUrl">http://your-master-hostname:8983/solr</str>
|
|
||||||
<str name="pollInterval">00:00:60</str>
|
|
||||||
</lst>
|
|
||||||
-->
|
|
||||||
</requestHandler>
|
|
||||||
|
|
||||||
<!-- Search Components
|
<!-- Search Components
|
||||||
|
|
||||||
Search components are registered to SolrCore and used by
|
Search components are registered to SolrCore and used by
|
||||||
|
|
|
@ -380,22 +380,6 @@
|
||||||
</lst>
|
</lst>
|
||||||
</requestHandler>
|
</requestHandler>
|
||||||
|
|
||||||
<!--
|
|
||||||
Please refer to http://wiki.apache.org/solr/SolrReplication for
|
|
||||||
details on configuring replication
|
|
||||||
-->
|
|
||||||
<!-- remove the <lst name="master"> section if this is just a slave -->
|
|
||||||
<!-- remove the <lst name="slave"> section if this is just a master -->
|
|
||||||
<!--
|
|
||||||
<requestHandler name="/replication" class="solr.ReplicationHandler"
|
|
||||||
> <lst name="master"> <str name="replicateAfter">commit</str> <str
|
|
||||||
name="replicateAfter">startup</str> <str
|
|
||||||
name="confFiles">schema.xml,stopwords.txt</str> </lst> <lst
|
|
||||||
name="slave"> <str
|
|
||||||
name="masterUrl">http://localhost:8983/solr/replication</str> <str
|
|
||||||
name="pollInterval">00:00:60</str> </lst> </requestHandler>
|
|
||||||
-->
|
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
DisMaxRequestHandler allows easy searching across multiple fields
|
DisMaxRequestHandler allows easy searching across multiple fields
|
||||||
for simple user-entered phrases. Its implementation is now just the
|
for simple user-entered phrases. Its implementation is now just the
|
||||||
|
@ -698,31 +682,6 @@
|
||||||
<requestHandler name="/update/csv" class="solr.CSVRequestHandler"
|
<requestHandler name="/update/csv" class="solr.CSVRequestHandler"
|
||||||
startup="lazy" />
|
startup="lazy" />
|
||||||
|
|
||||||
|
|
||||||
<!--
|
|
||||||
Admin Handlers - This will register all the standard admin
|
|
||||||
RequestHandlers. Adding this single handler is equivalent to
|
|
||||||
registering: <requestHandler name="/admin/luke"
|
|
||||||
class="org.apache.solr.handler.admin.LukeRequestHandler" />
|
|
||||||
<requestHandler name="/admin/system"
|
|
||||||
class="org.apache.solr.handler.admin.SystemInfoHandler" />
|
|
||||||
<requestHandler name="/admin/plugins"
|
|
||||||
class="org.apache.solr.handler.admin.PluginInfoHandler" />
|
|
||||||
<requestHandler name="/admin/threads"
|
|
||||||
class="org.apache.solr.handler.admin.ThreadDumpHandler" />
|
|
||||||
<requestHandler name="/admin/properties"
|
|
||||||
class="org.apache.solr.handler.admin.PropertiesRequestHandler" />
|
|
||||||
<requestHandler name="/admin/file"
|
|
||||||
class="org.apache.solr.handler.admin.ShowFileRequestHandler" > If
|
|
||||||
you wish to hide files under ${solr.home}/conf, explicitly register
|
|
||||||
the ShowFileRequestHandler using: <requestHandler name="/admin/file"
|
|
||||||
class="org.apache.solr.handler.admin.ShowFileRequestHandler" > <lst
|
|
||||||
name="invariants"> <str name="hidden">synonyms.txt</str> <str
|
|
||||||
name="hidden">anotherfile.txt</str> </lst> </requestHandler>
|
|
||||||
-->
|
|
||||||
<requestHandler name="/admin/"
|
|
||||||
class="org.apache.solr.handler.admin.AdminHandlers" />
|
|
||||||
|
|
||||||
<!-- Echo the request contents back to the client -->
|
<!-- Echo the request contents back to the client -->
|
||||||
<requestHandler name="/debug/dump" class="solr.DumpRequestHandler">
|
<requestHandler name="/debug/dump" class="solr.DumpRequestHandler">
|
||||||
<lst name="defaults">
|
<lst name="defaults">
|
||||||
|
|
|
@ -379,22 +379,6 @@
|
||||||
</lst>
|
</lst>
|
||||||
</requestHandler>
|
</requestHandler>
|
||||||
|
|
||||||
<!--
|
|
||||||
Please refer to http://wiki.apache.org/solr/SolrReplication for
|
|
||||||
details on configuring replication
|
|
||||||
-->
|
|
||||||
<!-- remove the <lst name="master"> section if this is just a slave -->
|
|
||||||
<!-- remove the <lst name="slave"> section if this is just a master -->
|
|
||||||
<!--
|
|
||||||
<requestHandler name="/replication" class="solr.ReplicationHandler"
|
|
||||||
> <lst name="master"> <str name="replicateAfter">commit</str> <str
|
|
||||||
name="replicateAfter">startup</str> <str
|
|
||||||
name="confFiles">schema.xml,stopwords.txt</str> </lst> <lst
|
|
||||||
name="slave"> <str
|
|
||||||
name="masterUrl">http://localhost:8983/solr/replication</str> <str
|
|
||||||
name="pollInterval">00:00:60</str> </lst> </requestHandler>
|
|
||||||
-->
|
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
DisMaxRequestHandler allows easy searching across multiple fields
|
DisMaxRequestHandler allows easy searching across multiple fields
|
||||||
for simple user-entered phrases. Its implementation is now just the
|
for simple user-entered phrases. Its implementation is now just the
|
||||||
|
@ -630,19 +614,6 @@
|
||||||
</arr>
|
</arr>
|
||||||
</requestHandler>
|
</requestHandler>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<!--
|
|
||||||
Update request handler. Note: Since solr1.1 requestHandlers requires
|
|
||||||
a valid content type header if posted in the body. For example, curl
|
|
||||||
now requires: -H 'Content-type:text/xml; charset=utf-8' The response
|
|
||||||
format differs from solr1.1 formatting and returns a standard error
|
|
||||||
code. To enable solr1.1 behavior, remove the /update handler or
|
|
||||||
change its path
|
|
||||||
-->
|
|
||||||
<requestHandler name="/update" class="solr.UpdateRequestHandler" />
|
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
Analysis request handler. Since Solr 1.3. Use to return how a
|
Analysis request handler. Since Solr 1.3. Use to return how a
|
||||||
document is analyzed. Useful for debugging and as a token server for
|
document is analyzed. Useful for debugging and as a token server for
|
||||||
|
@ -692,31 +663,6 @@
|
||||||
<requestHandler name="/update/csv" class="solr.CSVRequestHandler"
|
<requestHandler name="/update/csv" class="solr.CSVRequestHandler"
|
||||||
startup="lazy" />
|
startup="lazy" />
|
||||||
|
|
||||||
|
|
||||||
<!--
|
|
||||||
Admin Handlers - This will register all the standard admin
|
|
||||||
RequestHandlers. Adding this single handler is equivalent to
|
|
||||||
registering: <requestHandler name="/admin/luke"
|
|
||||||
class="org.apache.solr.handler.admin.LukeRequestHandler" />
|
|
||||||
<requestHandler name="/admin/system"
|
|
||||||
class="org.apache.solr.handler.admin.SystemInfoHandler" />
|
|
||||||
<requestHandler name="/admin/plugins"
|
|
||||||
class="org.apache.solr.handler.admin.PluginInfoHandler" />
|
|
||||||
<requestHandler name="/admin/threads"
|
|
||||||
class="org.apache.solr.handler.admin.ThreadDumpHandler" />
|
|
||||||
<requestHandler name="/admin/properties"
|
|
||||||
class="org.apache.solr.handler.admin.PropertiesRequestHandler" />
|
|
||||||
<requestHandler name="/admin/file"
|
|
||||||
class="org.apache.solr.handler.admin.ShowFileRequestHandler" > If
|
|
||||||
you wish to hide files under ${solr.home}/conf, explicitly register
|
|
||||||
the ShowFileRequestHandler using: <requestHandler name="/admin/file"
|
|
||||||
class="org.apache.solr.handler.admin.ShowFileRequestHandler" > <lst
|
|
||||||
name="invariants"> <str name="hidden">synonyms.txt</str> <str
|
|
||||||
name="hidden">anotherfile.txt</str> </lst> </requestHandler>
|
|
||||||
-->
|
|
||||||
<requestHandler name="/admin/"
|
|
||||||
class="org.apache.solr.handler.admin.AdminHandlers" />
|
|
||||||
|
|
||||||
<!-- Echo the request contents back to the client -->
|
<!-- Echo the request contents back to the client -->
|
||||||
<requestHandler name="/debug/dump" class="solr.DumpRequestHandler">
|
<requestHandler name="/debug/dump" class="solr.DumpRequestHandler">
|
||||||
<lst name="defaults">
|
<lst name="defaults">
|
||||||
|
|
|
@ -35,8 +35,8 @@ import org.slf4j.LoggerFactory;
|
||||||
* A special Handler that registers all standard admin handlers
|
* A special Handler that registers all standard admin handlers
|
||||||
*
|
*
|
||||||
* @since solr 1.3
|
* @since solr 1.3
|
||||||
* @deprecated No need to register this requesthandler . All
|
* @deprecated No need to register this request handler. All
|
||||||
* the plugins registered by this class are iplicitly registered by the system
|
* the plugins registered by this class are implicitly registered by the system
|
||||||
*/
|
*/
|
||||||
@Deprecated
|
@Deprecated
|
||||||
public class AdminHandlers extends RequestHandlerBase implements SolrCoreAware
|
public class AdminHandlers extends RequestHandlerBase implements SolrCoreAware
|
||||||
|
|
|
@ -237,8 +237,6 @@ based HashBitset. -->
|
||||||
</lst>
|
</lst>
|
||||||
</requestHandler>
|
</requestHandler>
|
||||||
|
|
||||||
<requestHandler name="/update" class="solr.UpdateRequestHandler" />
|
|
||||||
|
|
||||||
<searchComponent name="spellcheck" class="org.apache.solr.handler.component.SpellCheckComponent">
|
<searchComponent name="spellcheck" class="org.apache.solr.handler.component.SpellCheckComponent">
|
||||||
<!-- This is slightly different from the field value so we can test dealing with token offset changes -->
|
<!-- This is slightly different from the field value so we can test dealing with token offset changes -->
|
||||||
<str name="queryAnalyzerFieldType">lowerpunctfilt</str>
|
<str name="queryAnalyzerFieldType">lowerpunctfilt</str>
|
||||||
|
|
|
@ -25,5 +25,4 @@
|
||||||
<xi:include href="solrconfig.snippet.randomindexconfig.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
|
<xi:include href="solrconfig.snippet.randomindexconfig.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
|
||||||
<directoryFactory name="DirectoryFactory" class="${solr.directoryFactory:solr.RAMDirectoryFactory}"/>
|
<directoryFactory name="DirectoryFactory" class="${solr.directoryFactory:solr.RAMDirectoryFactory}"/>
|
||||||
<requestHandler name="standard" class="solr.StandardRequestHandler" />
|
<requestHandler name="standard" class="solr.StandardRequestHandler" />
|
||||||
<requestHandler name="/update" class="solr.UpdateRequestHandler" />
|
|
||||||
</config>
|
</config>
|
||||||
|
|
|
@ -38,14 +38,6 @@
|
||||||
<requestHandler name="standard" class="solr.StandardRequestHandler">
|
<requestHandler name="standard" class="solr.StandardRequestHandler">
|
||||||
</requestHandler>
|
</requestHandler>
|
||||||
|
|
||||||
<requestHandler name="/get" class="solr.RealTimeGetHandler">
|
|
||||||
<lst name="defaults">
|
|
||||||
<str name="omitHeader">true</str>
|
|
||||||
</lst>
|
|
||||||
</requestHandler>
|
|
||||||
|
|
||||||
<requestHandler name="/replication" class="solr.ReplicationHandler" startup="lazy"/>
|
|
||||||
|
|
||||||
<requestHandler name="/update" class="solr.UpdateRequestHandler">
|
<requestHandler name="/update" class="solr.UpdateRequestHandler">
|
||||||
<lst name="defaults">
|
<lst name="defaults">
|
||||||
<str name="update.chain">cdcr-processor-chain</str>
|
<str name="update.chain">cdcr-processor-chain</str>
|
||||||
|
@ -79,7 +71,5 @@
|
||||||
</updateLog>
|
</updateLog>
|
||||||
</updateHandler>
|
</updateHandler>
|
||||||
|
|
||||||
<requestHandler name="/admin/" class="org.apache.solr.handler.admin.AdminHandlers"/>
|
|
||||||
|
|
||||||
</config>
|
</config>
|
||||||
|
|
||||||
|
|
|
@ -38,22 +38,10 @@
|
||||||
<requestHandler name="standard" class="solr.StandardRequestHandler">
|
<requestHandler name="standard" class="solr.StandardRequestHandler">
|
||||||
</requestHandler>
|
</requestHandler>
|
||||||
|
|
||||||
<requestHandler name="/get" class="solr.RealTimeGetHandler">
|
|
||||||
<lst name="defaults">
|
|
||||||
<str name="omitHeader">true</str>
|
|
||||||
</lst>
|
|
||||||
</requestHandler>
|
|
||||||
|
|
||||||
<requestHandler name="/replication" class="solr.ReplicationHandler" startup="lazy"/>
|
|
||||||
|
|
||||||
<requestHandler name="/update" class="solr.UpdateRequestHandler"/>
|
|
||||||
|
|
||||||
<updateHandler class="solr.DirectUpdateHandler2">
|
<updateHandler class="solr.DirectUpdateHandler2">
|
||||||
<updateLog class="solr.CdcrUpdateLog">
|
<updateLog class="solr.CdcrUpdateLog">
|
||||||
<str name="dir">${solr.ulog.dir:}</str>
|
<str name="dir">${solr.ulog.dir:}</str>
|
||||||
</updateLog>
|
</updateLog>
|
||||||
</updateHandler>
|
</updateHandler>
|
||||||
|
|
||||||
<requestHandler name="/admin/" class="org.apache.solr.handler.admin.AdminHandlers"/>
|
|
||||||
|
|
||||||
</config>
|
</config>
|
||||||
|
|
|
@ -235,8 +235,6 @@ based HashBitset. -->
|
||||||
</lst>
|
</lst>
|
||||||
</requestHandler>
|
</requestHandler>
|
||||||
|
|
||||||
<requestHandler name="/update" class="solr.UpdateRequestHandler" />
|
|
||||||
|
|
||||||
<searchComponent name="spellcheck" class="org.apache.solr.handler.component.SpellCheckComponent">
|
<searchComponent name="spellcheck" class="org.apache.solr.handler.component.SpellCheckComponent">
|
||||||
<!-- This is slightly different from the field value so we can test dealing with token offset changes -->
|
<!-- This is slightly different from the field value so we can test dealing with token offset changes -->
|
||||||
<str name="queryAnalyzerFieldType">lowerpunctfilt</str>
|
<str name="queryAnalyzerFieldType">lowerpunctfilt</str>
|
||||||
|
|
|
@ -42,8 +42,6 @@
|
||||||
<requestParsers enableRemoteStreaming="false" multipartUploadLimitInKB="2048" />
|
<requestParsers enableRemoteStreaming="false" multipartUploadLimitInKB="2048" />
|
||||||
</requestDispatcher>
|
</requestDispatcher>
|
||||||
|
|
||||||
<requestHandler name="/admin/" class="org.apache.solr.handler.admin.AdminHandlers" />
|
|
||||||
|
|
||||||
<!-- config for the admin interface -->
|
<!-- config for the admin interface -->
|
||||||
<admin>
|
<admin>
|
||||||
<defaultQuery>solr</defaultQuery>
|
<defaultQuery>solr</defaultQuery>
|
||||||
|
|
|
@ -106,8 +106,6 @@
|
||||||
|
|
||||||
</query>
|
</query>
|
||||||
|
|
||||||
<requestHandler name="/update" class="solr.UpdateRequestHandler" />
|
|
||||||
|
|
||||||
<!-- test elevation -->
|
<!-- test elevation -->
|
||||||
<searchComponent name="elevate" class="org.apache.solr.handler.component.QueryElevationComponent" >
|
<searchComponent name="elevate" class="org.apache.solr.handler.component.QueryElevationComponent" >
|
||||||
<str name="queryFieldType">string</str>
|
<str name="queryFieldType">string</str>
|
||||||
|
|
|
@ -30,7 +30,6 @@
|
||||||
<requestHandler name="standard" class="solr.StandardRequestHandler"/>
|
<requestHandler name="standard" class="solr.StandardRequestHandler"/>
|
||||||
|
|
||||||
<updateHandler class="solr.DirectUpdateHandler2"/>
|
<updateHandler class="solr.DirectUpdateHandler2"/>
|
||||||
<requestHandler name="/update" class="solr.UpdateRequestHandler" />
|
|
||||||
|
|
||||||
<requestHandler name="/reloadCache"
|
<requestHandler name="/reloadCache"
|
||||||
class="org.apache.solr.search.function.FileFloatSource$ReloadCacheRequestHandler" />
|
class="org.apache.solr.search.function.FileFloatSource$ReloadCacheRequestHandler" />
|
||||||
|
|
|
@ -34,15 +34,6 @@
|
||||||
</updateLog>
|
</updateLog>
|
||||||
</updateHandler>
|
</updateHandler>
|
||||||
|
|
||||||
<!-- realtime get handler, guaranteed to return the latest stored fields
|
|
||||||
of any document, without the need to commit or open a new searcher. The current
|
|
||||||
implementation relies on the updateLog feature being enabled. -->
|
|
||||||
<requestHandler name="/get" class="solr.RealTimeGetHandler">
|
|
||||||
<lst name="defaults">
|
|
||||||
<str name="omitHeader">true</str>
|
|
||||||
</lst>
|
|
||||||
</requestHandler>
|
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
Distributed Stream processing.
|
Distributed Stream processing.
|
||||||
-->
|
-->
|
||||||
|
@ -58,21 +49,7 @@
|
||||||
<requestParsers enableRemoteStreaming="false" multipartUploadLimitInKB="2048" />
|
<requestParsers enableRemoteStreaming="false" multipartUploadLimitInKB="2048" />
|
||||||
</requestDispatcher>
|
</requestDispatcher>
|
||||||
|
|
||||||
<requestHandler name="/replication" class="solr.ReplicationHandler" startup="lazy" />
|
|
||||||
|
|
||||||
<requestHandler name="standard" class="solr.StandardRequestHandler" default="true" />
|
<requestHandler name="standard" class="solr.StandardRequestHandler" default="true" />
|
||||||
<requestHandler name="/update" class="solr.UpdateRequestHandler" />
|
|
||||||
<requestHandler name="/admin/" class="org.apache.solr.handler.admin.AdminHandlers" />
|
|
||||||
|
|
||||||
<requestHandler name="/admin/ping" class="solr.PingRequestHandler">
|
|
||||||
<lst name="invariants">
|
|
||||||
<str name="q">*:*</str>
|
|
||||||
</lst>
|
|
||||||
<lst name="defaults">
|
|
||||||
<str name="echoParams">all</str>
|
|
||||||
</lst>
|
|
||||||
<str name="healthcheckFile">server-enabled.txt</str>
|
|
||||||
</requestHandler>
|
|
||||||
|
|
||||||
<!-- config for the admin interface -->
|
<!-- config for the admin interface -->
|
||||||
<admin>
|
<admin>
|
||||||
|
|
|
@ -28,5 +28,4 @@
|
||||||
<str>componentThatAddsHeader</str>
|
<str>componentThatAddsHeader</str>
|
||||||
</arr>
|
</arr>
|
||||||
</requestHandler>
|
</requestHandler>
|
||||||
<requestHandler name="/update" class="solr.UpdateRequestHandler" />
|
|
||||||
</config>
|
</config>
|
||||||
|
|
|
@ -59,8 +59,6 @@
|
||||||
</lst>
|
</lst>
|
||||||
</requestHandler>
|
</requestHandler>
|
||||||
|
|
||||||
<requestHandler name="/update" class="solr.UpdateRequestHandler" />
|
|
||||||
|
|
||||||
<!-- enable streaming for testing... -->
|
<!-- enable streaming for testing... -->
|
||||||
<requestDispatcher handleSelect="true">
|
<requestDispatcher handleSelect="true">
|
||||||
<requestParsers enableRemoteStreaming="true" multipartUploadLimitInKB="2048"/>
|
<requestParsers enableRemoteStreaming="true" multipartUploadLimitInKB="2048"/>
|
||||||
|
|
|
@ -57,8 +57,6 @@
|
||||||
</lst>
|
</lst>
|
||||||
</requestHandler>
|
</requestHandler>
|
||||||
|
|
||||||
<requestHandler name="/update" class="solr.UpdateRequestHandler" />
|
|
||||||
|
|
||||||
<!-- enable streaming for testing... -->
|
<!-- enable streaming for testing... -->
|
||||||
<requestDispatcher handleSelect="true">
|
<requestDispatcher handleSelect="true">
|
||||||
<requestParsers enableRemoteStreaming="true" multipartUploadLimitInKB="2048"/>
|
<requestParsers enableRemoteStreaming="true" multipartUploadLimitInKB="2048"/>
|
||||||
|
|
|
@ -57,8 +57,6 @@
|
||||||
</lst>
|
</lst>
|
||||||
</requestHandler>
|
</requestHandler>
|
||||||
|
|
||||||
<requestHandler name="/update" class="solr.UpdateRequestHandler" />
|
|
||||||
|
|
||||||
<!-- enable streaming for testing... -->
|
<!-- enable streaming for testing... -->
|
||||||
<requestDispatcher handleSelect="true">
|
<requestDispatcher handleSelect="true">
|
||||||
<requestParsers enableRemoteStreaming="true" multipartUploadLimitInKB="2048"/>
|
<requestParsers enableRemoteStreaming="true" multipartUploadLimitInKB="2048"/>
|
||||||
|
|
|
@ -32,8 +32,6 @@
|
||||||
</arr>
|
</arr>
|
||||||
</requestHandler>
|
</requestHandler>
|
||||||
|
|
||||||
<requestHandler name="/update" class="solr.UpdateRequestHandler" />
|
|
||||||
|
|
||||||
<requestDispatcher handleSelect="true" >
|
<requestDispatcher handleSelect="true" >
|
||||||
<requestParsers enableRemoteStreaming="true" multipartUploadLimitInKB="2048" />
|
<requestParsers enableRemoteStreaming="true" multipartUploadLimitInKB="2048" />
|
||||||
<httpCaching never304="true" />
|
<httpCaching never304="true" />
|
||||||
|
|
|
@ -24,7 +24,6 @@
|
||||||
<xi:include href="solrconfig.snippet.randomindexconfig.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
|
<xi:include href="solrconfig.snippet.randomindexconfig.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
|
||||||
<directoryFactory name="DirectoryFactory" class="${solr.directoryFactory:solr.RAMDirectoryFactory}"/>
|
<directoryFactory name="DirectoryFactory" class="${solr.directoryFactory:solr.RAMDirectoryFactory}"/>
|
||||||
<requestHandler name="standard" class="solr.StandardRequestHandler" />
|
<requestHandler name="standard" class="solr.StandardRequestHandler" />
|
||||||
<requestHandler name="/update" class="solr.UpdateRequestHandler" />
|
|
||||||
<query>
|
<query>
|
||||||
<cache name="myPerSegmentCache"
|
<cache name="myPerSegmentCache"
|
||||||
class="solr.LRUCache"
|
class="solr.LRUCache"
|
||||||
|
|
|
@ -25,7 +25,6 @@
|
||||||
<xi:include href="solrconfig.snippet.randomindexconfig.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
|
<xi:include href="solrconfig.snippet.randomindexconfig.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
|
||||||
<directoryFactory name="DirectoryFactory" class="${solr.directoryFactory:solr.RAMDirectoryFactory}"/>
|
<directoryFactory name="DirectoryFactory" class="${solr.directoryFactory:solr.RAMDirectoryFactory}"/>
|
||||||
<requestHandler name="standard" class="solr.StandardRequestHandler"/>
|
<requestHandler name="standard" class="solr.StandardRequestHandler"/>
|
||||||
<requestHandler name="/update" class="solr.UpdateRequestHandler"/>
|
|
||||||
<initParams name="a" path="/dump3,/dump6,/root/*,/root1/**">
|
<initParams name="a" path="/dump3,/dump6,/root/*,/root1/**">
|
||||||
<lst name="defaults">
|
<lst name="defaults">
|
||||||
<str name="a">A</str>
|
<str name="a">A</str>
|
||||||
|
|
|
@ -25,7 +25,6 @@
|
||||||
<xi:include href="solrconfig.snippet.randomindexconfig.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
|
<xi:include href="solrconfig.snippet.randomindexconfig.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
|
||||||
<directoryFactory name="DirectoryFactory" class="${solr.directoryFactory:solr.RAMDirectoryFactory}"/>
|
<directoryFactory name="DirectoryFactory" class="${solr.directoryFactory:solr.RAMDirectoryFactory}"/>
|
||||||
<requestHandler name="standard" class="solr.StandardRequestHandler" />
|
<requestHandler name="standard" class="solr.StandardRequestHandler" />
|
||||||
<requestHandler name="/update" class="solr.UpdateRequestHandler" />
|
|
||||||
|
|
||||||
<requestHandler name="/export" class="solr.SearchHandler">
|
<requestHandler name="/export" class="solr.SearchHandler">
|
||||||
<lst name="invariants">
|
<lst name="invariants">
|
||||||
|
|
|
@ -24,7 +24,6 @@
|
||||||
<xi:include href="solrconfig.snippet.randomindexconfig.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
|
<xi:include href="solrconfig.snippet.randomindexconfig.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
|
||||||
<directoryFactory name="DirectoryFactory" class="${solr.directoryFactory:solr.RAMDirectoryFactory}"/>
|
<directoryFactory name="DirectoryFactory" class="${solr.directoryFactory:solr.RAMDirectoryFactory}"/>
|
||||||
<requestHandler name="standard" class="solr.StandardRequestHandler" />
|
<requestHandler name="standard" class="solr.StandardRequestHandler" />
|
||||||
<requestHandler name="/update" class="solr.UpdateRequestHandler" />
|
|
||||||
<query>
|
<query>
|
||||||
<cache name="perSegSpatialFieldCache_srptgeom"
|
<cache name="perSegSpatialFieldCache_srptgeom"
|
||||||
class="solr.LRUCache"
|
class="solr.LRUCache"
|
||||||
|
|
|
@ -139,9 +139,7 @@
|
||||||
<str>suggest</str>
|
<str>suggest</str>
|
||||||
</arr>
|
</arr>
|
||||||
</requestHandler>
|
</requestHandler>
|
||||||
|
|
||||||
<requestHandler name="/update" class="solr.UpdateRequestHandler" />
|
|
||||||
|
|
||||||
<query><useColdSearcher>false</useColdSearcher></query>
|
<query><useColdSearcher>false</useColdSearcher></query>
|
||||||
|
|
||||||
</config>
|
</config>
|
||||||
|
|
|
@ -75,12 +75,6 @@
|
||||||
<processor class="solr.RunUpdateProcessorFactory" />
|
<processor class="solr.RunUpdateProcessorFactory" />
|
||||||
</updateRequestProcessorChain>
|
</updateRequestProcessorChain>
|
||||||
|
|
||||||
<requestHandler name="/admin/file" class="solr.admin.ShowFileRequestHandler" >
|
|
||||||
<lst name="invariants">
|
|
||||||
<str name="hidden">bogus.txt</str>
|
|
||||||
</lst>
|
|
||||||
</requestHandler>
|
|
||||||
|
|
||||||
<updateRequestProcessorChain name="distrib-dup-test-chain-explicit">
|
<updateRequestProcessorChain name="distrib-dup-test-chain-explicit">
|
||||||
<!-- explicit test using processors before and after distrib -->
|
<!-- explicit test using processors before and after distrib -->
|
||||||
<processor class="solr.RegexReplaceProcessorFactory">
|
<processor class="solr.RegexReplaceProcessorFactory">
|
||||||
|
|
|
@ -79,12 +79,6 @@
|
||||||
</updateRequestProcessorChain>
|
</updateRequestProcessorChain>
|
||||||
|
|
||||||
|
|
||||||
<requestHandler name="/admin/file" class="solr.admin.ShowFileRequestHandler" >
|
|
||||||
<lst name="invariants">
|
|
||||||
<str name="hidden">bogus.txt</str>
|
|
||||||
</lst>
|
|
||||||
</requestHandler>
|
|
||||||
|
|
||||||
<updateRequestProcessorChain name="distrib-dup-test-chain-explicit">
|
<updateRequestProcessorChain name="distrib-dup-test-chain-explicit">
|
||||||
<!-- explicit test using processors before and after distrib -->
|
<!-- explicit test using processors before and after distrib -->
|
||||||
<processor class="solr.RegexReplaceProcessorFactory">
|
<processor class="solr.RegexReplaceProcessorFactory">
|
||||||
|
|
|
@ -224,12 +224,6 @@
|
||||||
|
|
||||||
<requestHandler name="mock" class="org.apache.solr.core.MockQuerySenderListenerReqHandler"/>
|
<requestHandler name="mock" class="org.apache.solr.core.MockQuerySenderListenerReqHandler"/>
|
||||||
|
|
||||||
<requestHandler name="/admin/file" class="solr.admin.ShowFileRequestHandler" >
|
|
||||||
<lst name="invariants">
|
|
||||||
<str name="hidden">bogus.txt</str>
|
|
||||||
</lst>
|
|
||||||
</requestHandler>
|
|
||||||
|
|
||||||
<!-- test query parameter defaults -->
|
<!-- test query parameter defaults -->
|
||||||
<requestHandler name="defaults" class="solr.StandardRequestHandler">
|
<requestHandler name="defaults" class="solr.StandardRequestHandler">
|
||||||
<lst name="defaults">
|
<lst name="defaults">
|
||||||
|
|
|
@ -51,9 +51,5 @@
|
||||||
</lst>
|
</lst>
|
||||||
|
|
||||||
</requestHandler>
|
</requestHandler>
|
||||||
|
|
||||||
<requestHandler name="/admin/" class="org.apache.solr.handler.admin.AdminHandlers" />
|
|
||||||
|
|
||||||
<requestHandler name="/update" class="solr.UpdateRequestHandler" />
|
|
||||||
</config>
|
</config>
|
||||||
|
|
||||||
|
|
|
@ -44,9 +44,5 @@
|
||||||
</lst>
|
</lst>
|
||||||
|
|
||||||
</requestHandler>
|
</requestHandler>
|
||||||
|
|
||||||
<requestHandler name="/admin/" class="org.apache.solr.handler.admin.AdminHandlers" />
|
|
||||||
|
|
||||||
<requestHandler name="/update" class="solr.UpdateRequestHandler" />
|
|
||||||
</config>
|
</config>
|
||||||
|
|
||||||
|
|
|
@ -42,9 +42,5 @@
|
||||||
</lst>
|
</lst>
|
||||||
|
|
||||||
</requestHandler>
|
</requestHandler>
|
||||||
|
|
||||||
<requestHandler name="/admin/" class="org.apache.solr.handler.admin.AdminHandlers" />
|
|
||||||
|
|
||||||
<requestHandler name="/update" class="solr.UpdateRequestHandler" />
|
|
||||||
</config>
|
</config>
|
||||||
|
|
||||||
|
|
|
@ -42,8 +42,6 @@
|
||||||
<str name="fl">implicit</str>
|
<str name="fl">implicit</str>
|
||||||
</lst>
|
</lst>
|
||||||
</requestHandler>
|
</requestHandler>
|
||||||
<requestHandler name="/update" class="solr.UpdateRequestHandler" />
|
|
||||||
|
|
||||||
|
|
||||||
<queryResponseWriter name="standard" class="solr.XMLResponseWriter"/>
|
<queryResponseWriter name="standard" class="solr.XMLResponseWriter"/>
|
||||||
<queryResponseWriter name="useless" class="org.apache.solr.OutputWriterTest$UselessOutputWriter" startup="lazy"/>
|
<queryResponseWriter name="useless" class="org.apache.solr.OutputWriterTest$UselessOutputWriter" startup="lazy"/>
|
||||||
|
|
|
@ -873,26 +873,6 @@
|
||||||
</requestHandler>
|
</requestHandler>
|
||||||
|
|
||||||
|
|
||||||
<!-- realtime get handler, guaranteed to return the latest stored fields of
|
|
||||||
any document, without the need to commit or open a new searcher. The
|
|
||||||
current implementation relies on the updateLog feature being enabled.
|
|
||||||
|
|
||||||
** WARNING **
|
|
||||||
Do NOT disable the realtime get handler at /get if you are using
|
|
||||||
SolrCloud otherwise any leader election will cause a full sync in ALL
|
|
||||||
replicas for the shard in question. Similarly, a replica recovery will
|
|
||||||
also always fetch the complete index from the leader because a partial
|
|
||||||
sync will not be possible in the absence of this handler.
|
|
||||||
-->
|
|
||||||
<requestHandler name="/get" class="solr.RealTimeGetHandler">
|
|
||||||
<lst name="defaults">
|
|
||||||
<str name="omitHeader">true</str>
|
|
||||||
<str name="wt">json</str>
|
|
||||||
<str name="indent">true</str>
|
|
||||||
</lst>
|
|
||||||
</requestHandler>
|
|
||||||
|
|
||||||
|
|
||||||
<!-- A Robust Example
|
<!-- A Robust Example
|
||||||
|
|
||||||
This example SearchHandler declaration shows off usage of the
|
This example SearchHandler declaration shows off usage of the
|
||||||
|
@ -929,38 +909,6 @@
|
||||||
</lst>
|
</lst>
|
||||||
</initParams>
|
</initParams>
|
||||||
|
|
||||||
<!-- Update Request Handler.
|
|
||||||
|
|
||||||
http://wiki.apache.org/solr/UpdateXmlMessages
|
|
||||||
|
|
||||||
The canonical Request Handler for Modifying the Index through
|
|
||||||
commands specified using XML, JSON, CSV, or JAVABIN
|
|
||||||
|
|
||||||
Note: Since solr1.1 requestHandlers requires a valid content
|
|
||||||
type header if posted in the body. For example, curl now
|
|
||||||
requires: -H 'Content-type:text/xml; charset=utf-8'
|
|
||||||
|
|
||||||
To override the request content type and force a specific
|
|
||||||
Content-type, use the request parameter:
|
|
||||||
?update.contentType=text/csv
|
|
||||||
|
|
||||||
This handler will pick a response format to match the input
|
|
||||||
if the 'wt' parameter is not explicit
|
|
||||||
-->
|
|
||||||
<requestHandler name="/update" class="solr.UpdateRequestHandler">
|
|
||||||
<!-- See below for information on defining
|
|
||||||
updateRequestProcessorChains that can be used by name
|
|
||||||
on each Update Request
|
|
||||||
-->
|
|
||||||
<!--
|
|
||||||
<lst name="defaults">
|
|
||||||
<str name="update.chain">dedupe</str>
|
|
||||||
</lst>
|
|
||||||
-->
|
|
||||||
</requestHandler>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<!-- Solr Cell Update Request Handler
|
<!-- Solr Cell Update Request Handler
|
||||||
|
|
||||||
http://wiki.apache.org/solr/ExtractingRequestHandler
|
http://wiki.apache.org/solr/ExtractingRequestHandler
|
||||||
|
@ -1038,67 +986,6 @@
|
||||||
class="solr.DocumentAnalysisRequestHandler"
|
class="solr.DocumentAnalysisRequestHandler"
|
||||||
startup="lazy" />
|
startup="lazy" />
|
||||||
|
|
||||||
<!-- Admin Handlers
|
|
||||||
|
|
||||||
Admin Handlers - This will register all the standard admin
|
|
||||||
RequestHandlers.
|
|
||||||
-->
|
|
||||||
<requestHandler name="/admin/"
|
|
||||||
class="solr.admin.AdminHandlers" />
|
|
||||||
<!-- This single handler is equivalent to the following... -->
|
|
||||||
<!--
|
|
||||||
<requestHandler name="/admin/luke" class="solr.admin.LukeRequestHandler" />
|
|
||||||
<requestHandler name="/admin/system" class="solr.admin.SystemInfoHandler" />
|
|
||||||
<requestHandler name="/admin/plugins" class="solr.admin.PluginInfoHandler" />
|
|
||||||
<requestHandler name="/admin/threads" class="solr.admin.ThreadDumpHandler" />
|
|
||||||
<requestHandler name="/admin/properties" class="solr.admin.PropertiesRequestHandler" />
|
|
||||||
<requestHandler name="/admin/file" class="solr.admin.ShowFileRequestHandler" >
|
|
||||||
-->
|
|
||||||
<!-- If you wish to hide files under ${solr.home}/conf, explicitly
|
|
||||||
register the ShowFileRequestHandler using the definition below.
|
|
||||||
NOTE: The glob pattern ('*') is the only pattern supported at present, *.xml will
|
|
||||||
not exclude all files ending in '.xml'. Use it to exclude _all_ updates
|
|
||||||
-->
|
|
||||||
<!--
|
|
||||||
<requestHandler name="/admin/file"
|
|
||||||
class="solr.admin.ShowFileRequestHandler" >
|
|
||||||
<lst name="invariants">
|
|
||||||
<str name="hidden">synonyms.txt</str>
|
|
||||||
<str name="hidden">anotherfile.txt</str>
|
|
||||||
<str name="hidden">*</str>
|
|
||||||
</lst>
|
|
||||||
</requestHandler>
|
|
||||||
-->
|
|
||||||
|
|
||||||
<!--
|
|
||||||
Enabling this request handler (which is NOT a default part of the admin handler) will allow the Solr UI to edit
|
|
||||||
all the config files. This is intended for secure/development use ONLY! Leaving available and publically
|
|
||||||
accessible is a security vulnerability and should be done with extreme caution!
|
|
||||||
-->
|
|
||||||
<!--
|
|
||||||
<requestHandler name="/admin/fileedit" class="solr.admin.EditFileRequestHandler" >
|
|
||||||
<lst name="invariants">
|
|
||||||
<str name="hidden">synonyms.txt</str>
|
|
||||||
<str name="hidden">anotherfile.txt</str>
|
|
||||||
</lst>
|
|
||||||
</requestHandler>
|
|
||||||
-->
|
|
||||||
<!-- ping/healthcheck -->
|
|
||||||
<requestHandler name="/admin/ping" class="solr.PingRequestHandler">
|
|
||||||
<lst name="invariants">
|
|
||||||
<str name="q">solrpingquery</str>
|
|
||||||
</lst>
|
|
||||||
<lst name="defaults">
|
|
||||||
<str name="echoParams">all</str>
|
|
||||||
</lst>
|
|
||||||
<!-- An optional feature of the PingRequestHandler is to configure the
|
|
||||||
handler with a "healthcheckFile" which can be used to enable/disable
|
|
||||||
the PingRequestHandler.
|
|
||||||
relative paths are resolved against the data dir
|
|
||||||
-->
|
|
||||||
<!-- <str name="healthcheckFile">server-enabled.txt</str> -->
|
|
||||||
</requestHandler>
|
|
||||||
|
|
||||||
<!-- Echo the request contents back to the client -->
|
<!-- Echo the request contents back to the client -->
|
||||||
<requestHandler name="/debug/dump" class="solr.DumpRequestHandler" >
|
<requestHandler name="/debug/dump" class="solr.DumpRequestHandler" >
|
||||||
<lst name="defaults">
|
<lst name="defaults">
|
||||||
|
@ -1107,41 +994,6 @@
|
||||||
</lst>
|
</lst>
|
||||||
</requestHandler>
|
</requestHandler>
|
||||||
|
|
||||||
<!-- Solr Replication
|
|
||||||
|
|
||||||
The SolrReplicationHandler supports replicating indexes from a
|
|
||||||
"master" used for indexing and "slaves" used for queries.
|
|
||||||
|
|
||||||
http://wiki.apache.org/solr/SolrReplication
|
|
||||||
|
|
||||||
It is also necessary for SolrCloud to function (in Cloud mode, the
|
|
||||||
replication handler is used to bulk transfer segments when nodes
|
|
||||||
are added or need to recover).
|
|
||||||
|
|
||||||
https://wiki.apache.org/solr/SolrCloud/
|
|
||||||
-->
|
|
||||||
<requestHandler name="/replication" class="solr.ReplicationHandler" >
|
|
||||||
<!--
|
|
||||||
To enable simple master/slave replication, uncomment one of the
|
|
||||||
sections below, depending on whether this solr instance should be
|
|
||||||
the "master" or a "slave". If this instance is a "slave" you will
|
|
||||||
also need to fill in the masterUrl to point to a real machine.
|
|
||||||
-->
|
|
||||||
<!--
|
|
||||||
<lst name="master">
|
|
||||||
<str name="replicateAfter">commit</str>
|
|
||||||
<str name="replicateAfter">startup</str>
|
|
||||||
<str name="confFiles">schema.xml,stopwords.txt</str>
|
|
||||||
</lst>
|
|
||||||
-->
|
|
||||||
<!--
|
|
||||||
<lst name="slave">
|
|
||||||
<str name="masterUrl">http://your-master-hostname:8983/solr</str>
|
|
||||||
<str name="pollInterval">00:00:60</str>
|
|
||||||
</lst>
|
|
||||||
-->
|
|
||||||
</requestHandler>
|
|
||||||
|
|
||||||
<!-- Search Components
|
<!-- Search Components
|
||||||
|
|
||||||
Search components are registered to SolrCore and used by
|
Search components are registered to SolrCore and used by
|
||||||
|
|
|
@ -875,27 +875,6 @@
|
||||||
</lst>
|
</lst>
|
||||||
</requestHandler>
|
</requestHandler>
|
||||||
|
|
||||||
|
|
||||||
<!-- realtime get handler, guaranteed to return the latest stored fields of
|
|
||||||
any document, without the need to commit or open a new searcher. The
|
|
||||||
current implementation relies on the updateLog feature being enabled.
|
|
||||||
|
|
||||||
** WARNING **
|
|
||||||
Do NOT disable the realtime get handler at /get if you are using
|
|
||||||
SolrCloud otherwise any leader election will cause a full sync in ALL
|
|
||||||
replicas for the shard in question. Similarly, a replica recovery will
|
|
||||||
also always fetch the complete index from the leader because a partial
|
|
||||||
sync will not be possible in the absence of this handler.
|
|
||||||
-->
|
|
||||||
<requestHandler name="/get" class="solr.RealTimeGetHandler">
|
|
||||||
<lst name="defaults">
|
|
||||||
<str name="omitHeader">true</str>
|
|
||||||
<str name="wt">json</str>
|
|
||||||
<str name="indent">true</str>
|
|
||||||
</lst>
|
|
||||||
</requestHandler>
|
|
||||||
|
|
||||||
|
|
||||||
<!-- A Robust Example
|
<!-- A Robust Example
|
||||||
|
|
||||||
This example SearchHandler declaration shows off usage of the
|
This example SearchHandler declaration shows off usage of the
|
||||||
|
@ -1009,67 +988,6 @@
|
||||||
class="solr.DocumentAnalysisRequestHandler"
|
class="solr.DocumentAnalysisRequestHandler"
|
||||||
startup="lazy" />
|
startup="lazy" />
|
||||||
|
|
||||||
<!-- Admin Handlers
|
|
||||||
|
|
||||||
Admin Handlers - This will register all the standard admin
|
|
||||||
RequestHandlers.
|
|
||||||
-->
|
|
||||||
<requestHandler name="/admin/"
|
|
||||||
class="solr.admin.AdminHandlers" />
|
|
||||||
<!-- This single handler is equivalent to the following... -->
|
|
||||||
<!--
|
|
||||||
<requestHandler name="/admin/luke" class="solr.admin.LukeRequestHandler" />
|
|
||||||
<requestHandler name="/admin/system" class="solr.admin.SystemInfoHandler" />
|
|
||||||
<requestHandler name="/admin/plugins" class="solr.admin.PluginInfoHandler" />
|
|
||||||
<requestHandler name="/admin/threads" class="solr.admin.ThreadDumpHandler" />
|
|
||||||
<requestHandler name="/admin/properties" class="solr.admin.PropertiesRequestHandler" />
|
|
||||||
<requestHandler name="/admin/file" class="solr.admin.ShowFileRequestHandler" >
|
|
||||||
-->
|
|
||||||
<!-- If you wish to hide files under ${solr.home}/conf, explicitly
|
|
||||||
register the ShowFileRequestHandler using the definition below.
|
|
||||||
NOTE: The glob pattern ('*') is the only pattern supported at present, *.xml will
|
|
||||||
not exclude all files ending in '.xml'. Use it to exclude _all_ updates
|
|
||||||
-->
|
|
||||||
<!--
|
|
||||||
<requestHandler name="/admin/file"
|
|
||||||
class="solr.admin.ShowFileRequestHandler" >
|
|
||||||
<lst name="invariants">
|
|
||||||
<str name="hidden">synonyms.txt</str>
|
|
||||||
<str name="hidden">anotherfile.txt</str>
|
|
||||||
<str name="hidden">*</str>
|
|
||||||
</lst>
|
|
||||||
</requestHandler>
|
|
||||||
-->
|
|
||||||
|
|
||||||
<!--
|
|
||||||
Enabling this request handler (which is NOT a default part of the admin handler) will allow the Solr UI to edit
|
|
||||||
all the config files. This is intended for secure/development use ONLY! Leaving available and publically
|
|
||||||
accessible is a security vulnerability and should be done with extreme caution!
|
|
||||||
-->
|
|
||||||
<!--
|
|
||||||
<requestHandler name="/admin/fileedit" class="solr.admin.EditFileRequestHandler" >
|
|
||||||
<lst name="invariants">
|
|
||||||
<str name="hidden">synonyms.txt</str>
|
|
||||||
<str name="hidden">anotherfile.txt</str>
|
|
||||||
</lst>
|
|
||||||
</requestHandler>
|
|
||||||
-->
|
|
||||||
<!-- ping/healthcheck -->
|
|
||||||
<requestHandler name="/admin/ping" class="solr.PingRequestHandler">
|
|
||||||
<lst name="invariants">
|
|
||||||
<str name="q">solrpingquery</str>
|
|
||||||
</lst>
|
|
||||||
<lst name="defaults">
|
|
||||||
<str name="echoParams">all</str>
|
|
||||||
</lst>
|
|
||||||
<!-- An optional feature of the PingRequestHandler is to configure the
|
|
||||||
handler with a "healthcheckFile" which can be used to enable/disable
|
|
||||||
the PingRequestHandler.
|
|
||||||
relative paths are resolved against the data dir
|
|
||||||
-->
|
|
||||||
<!-- <str name="healthcheckFile">server-enabled.txt</str> -->
|
|
||||||
</requestHandler>
|
|
||||||
|
|
||||||
<!-- Echo the request contents back to the client -->
|
<!-- Echo the request contents back to the client -->
|
||||||
<requestHandler name="/debug/dump" class="solr.DumpRequestHandler" >
|
<requestHandler name="/debug/dump" class="solr.DumpRequestHandler" >
|
||||||
<lst name="defaults">
|
<lst name="defaults">
|
||||||
|
@ -1078,41 +996,6 @@
|
||||||
</lst>
|
</lst>
|
||||||
</requestHandler>
|
</requestHandler>
|
||||||
|
|
||||||
<!-- Solr Replication
|
|
||||||
|
|
||||||
The SolrReplicationHandler supports replicating indexes from a
|
|
||||||
"master" used for indexing and "slaves" used for queries.
|
|
||||||
|
|
||||||
http://wiki.apache.org/solr/SolrReplication
|
|
||||||
|
|
||||||
It is also necessary for SolrCloud to function (in Cloud mode, the
|
|
||||||
replication handler is used to bulk transfer segments when nodes
|
|
||||||
are added or need to recover).
|
|
||||||
|
|
||||||
https://wiki.apache.org/solr/SolrCloud/
|
|
||||||
-->
|
|
||||||
<requestHandler name="/replication" class="solr.ReplicationHandler" >
|
|
||||||
<!--
|
|
||||||
To enable simple master/slave replication, uncomment one of the
|
|
||||||
sections below, depending on whether this solr instance should be
|
|
||||||
the "master" or a "slave". If this instance is a "slave" you will
|
|
||||||
also need to fill in the masterUrl to point to a real machine.
|
|
||||||
-->
|
|
||||||
<!--
|
|
||||||
<lst name="master">
|
|
||||||
<str name="replicateAfter">commit</str>
|
|
||||||
<str name="replicateAfter">startup</str>
|
|
||||||
<str name="confFiles">schema.xml,stopwords.txt</str>
|
|
||||||
</lst>
|
|
||||||
-->
|
|
||||||
<!--
|
|
||||||
<lst name="slave">
|
|
||||||
<str name="masterUrl">http://your-master-hostname:8983/solr</str>
|
|
||||||
<str name="pollInterval">00:00:60</str>
|
|
||||||
</lst>
|
|
||||||
-->
|
|
||||||
</requestHandler>
|
|
||||||
|
|
||||||
<!-- Search Components
|
<!-- Search Components
|
||||||
|
|
||||||
Search components are registered to SolrCore and used by
|
Search components are registered to SolrCore and used by
|
||||||
|
|
|
@ -872,27 +872,6 @@
|
||||||
</lst>
|
</lst>
|
||||||
</requestHandler>
|
</requestHandler>
|
||||||
|
|
||||||
|
|
||||||
<!-- realtime get handler, guaranteed to return the latest stored fields of
|
|
||||||
any document, without the need to commit or open a new searcher. The
|
|
||||||
current implementation relies on the updateLog feature being enabled.
|
|
||||||
|
|
||||||
** WARNING **
|
|
||||||
Do NOT disable the realtime get handler at /get if you are using
|
|
||||||
SolrCloud otherwise any leader election will cause a full sync in ALL
|
|
||||||
replicas for the shard in question. Similarly, a replica recovery will
|
|
||||||
also always fetch the complete index from the leader because a partial
|
|
||||||
sync will not be possible in the absence of this handler.
|
|
||||||
-->
|
|
||||||
<requestHandler name="/get" class="solr.RealTimeGetHandler">
|
|
||||||
<lst name="defaults">
|
|
||||||
<str name="omitHeader">true</str>
|
|
||||||
<str name="wt">json</str>
|
|
||||||
<str name="indent">true</str>
|
|
||||||
</lst>
|
|
||||||
</requestHandler>
|
|
||||||
|
|
||||||
|
|
||||||
<!-- A Robust Example
|
<!-- A Robust Example
|
||||||
|
|
||||||
This example SearchHandler declaration shows off usage of the
|
This example SearchHandler declaration shows off usage of the
|
||||||
|
@ -1006,67 +985,6 @@
|
||||||
class="solr.DocumentAnalysisRequestHandler"
|
class="solr.DocumentAnalysisRequestHandler"
|
||||||
startup="lazy" />
|
startup="lazy" />
|
||||||
|
|
||||||
<!-- Admin Handlers
|
|
||||||
|
|
||||||
Admin Handlers - This will register all the standard admin
|
|
||||||
RequestHandlers.
|
|
||||||
-->
|
|
||||||
<requestHandler name="/admin/"
|
|
||||||
class="solr.admin.AdminHandlers" />
|
|
||||||
<!-- This single handler is equivalent to the following... -->
|
|
||||||
<!--
|
|
||||||
<requestHandler name="/admin/luke" class="solr.admin.LukeRequestHandler" />
|
|
||||||
<requestHandler name="/admin/system" class="solr.admin.SystemInfoHandler" />
|
|
||||||
<requestHandler name="/admin/plugins" class="solr.admin.PluginInfoHandler" />
|
|
||||||
<requestHandler name="/admin/threads" class="solr.admin.ThreadDumpHandler" />
|
|
||||||
<requestHandler name="/admin/properties" class="solr.admin.PropertiesRequestHandler" />
|
|
||||||
<requestHandler name="/admin/file" class="solr.admin.ShowFileRequestHandler" >
|
|
||||||
-->
|
|
||||||
<!-- If you wish to hide files under ${solr.home}/conf, explicitly
|
|
||||||
register the ShowFileRequestHandler using the definition below.
|
|
||||||
NOTE: The glob pattern ('*') is the only pattern supported at present, *.xml will
|
|
||||||
not exclude all files ending in '.xml'. Use it to exclude _all_ updates
|
|
||||||
-->
|
|
||||||
<!--
|
|
||||||
<requestHandler name="/admin/file"
|
|
||||||
class="solr.admin.ShowFileRequestHandler" >
|
|
||||||
<lst name="invariants">
|
|
||||||
<str name="hidden">synonyms.txt</str>
|
|
||||||
<str name="hidden">anotherfile.txt</str>
|
|
||||||
<str name="hidden">*</str>
|
|
||||||
</lst>
|
|
||||||
</requestHandler>
|
|
||||||
-->
|
|
||||||
|
|
||||||
<!--
|
|
||||||
Enabling this request handler (which is NOT a default part of the admin handler) will allow the Solr UI to edit
|
|
||||||
all the config files. This is intended for secure/development use ONLY! Leaving available and publically
|
|
||||||
accessible is a security vulnerability and should be done with extreme caution!
|
|
||||||
-->
|
|
||||||
<!--
|
|
||||||
<requestHandler name="/admin/fileedit" class="solr.admin.EditFileRequestHandler" >
|
|
||||||
<lst name="invariants">
|
|
||||||
<str name="hidden">synonyms.txt</str>
|
|
||||||
<str name="hidden">anotherfile.txt</str>
|
|
||||||
</lst>
|
|
||||||
</requestHandler>
|
|
||||||
-->
|
|
||||||
<!-- ping/healthcheck -->
|
|
||||||
<requestHandler name="/admin/ping" class="solr.PingRequestHandler">
|
|
||||||
<lst name="invariants">
|
|
||||||
<str name="q">solrpingquery</str>
|
|
||||||
</lst>
|
|
||||||
<lst name="defaults">
|
|
||||||
<str name="echoParams">all</str>
|
|
||||||
</lst>
|
|
||||||
<!-- An optional feature of the PingRequestHandler is to configure the
|
|
||||||
handler with a "healthcheckFile" which can be used to enable/disable
|
|
||||||
the PingRequestHandler.
|
|
||||||
relative paths are resolved against the data dir
|
|
||||||
-->
|
|
||||||
<!-- <str name="healthcheckFile">server-enabled.txt</str> -->
|
|
||||||
</requestHandler>
|
|
||||||
|
|
||||||
<!-- Echo the request contents back to the client -->
|
<!-- Echo the request contents back to the client -->
|
||||||
<requestHandler name="/debug/dump" class="solr.DumpRequestHandler" >
|
<requestHandler name="/debug/dump" class="solr.DumpRequestHandler" >
|
||||||
<lst name="defaults">
|
<lst name="defaults">
|
||||||
|
@ -1075,41 +993,6 @@
|
||||||
</lst>
|
</lst>
|
||||||
</requestHandler>
|
</requestHandler>
|
||||||
|
|
||||||
<!-- Solr Replication
|
|
||||||
|
|
||||||
The SolrReplicationHandler supports replicating indexes from a
|
|
||||||
"master" used for indexing and "slaves" used for queries.
|
|
||||||
|
|
||||||
http://wiki.apache.org/solr/SolrReplication
|
|
||||||
|
|
||||||
It is also necessary for SolrCloud to function (in Cloud mode, the
|
|
||||||
replication handler is used to bulk transfer segments when nodes
|
|
||||||
are added or need to recover).
|
|
||||||
|
|
||||||
https://wiki.apache.org/solr/SolrCloud/
|
|
||||||
-->
|
|
||||||
<requestHandler name="/replication" class="solr.ReplicationHandler" >
|
|
||||||
<!--
|
|
||||||
To enable simple master/slave replication, uncomment one of the
|
|
||||||
sections below, depending on whether this solr instance should be
|
|
||||||
the "master" or a "slave". If this instance is a "slave" you will
|
|
||||||
also need to fill in the masterUrl to point to a real machine.
|
|
||||||
-->
|
|
||||||
<!--
|
|
||||||
<lst name="master">
|
|
||||||
<str name="replicateAfter">commit</str>
|
|
||||||
<str name="replicateAfter">startup</str>
|
|
||||||
<str name="confFiles">schema.xml,stopwords.txt</str>
|
|
||||||
</lst>
|
|
||||||
-->
|
|
||||||
<!--
|
|
||||||
<lst name="slave">
|
|
||||||
<str name="masterUrl">http://your-master-hostname:8983/solr</str>
|
|
||||||
<str name="pollInterval">00:00:60</str>
|
|
||||||
</lst>
|
|
||||||
-->
|
|
||||||
</requestHandler>
|
|
||||||
|
|
||||||
<!-- Search Components
|
<!-- Search Components
|
||||||
|
|
||||||
Search components are registered to SolrCore and used by
|
Search components are registered to SolrCore and used by
|
||||||
|
|
|
@ -872,27 +872,6 @@
|
||||||
</lst>
|
</lst>
|
||||||
</requestHandler>
|
</requestHandler>
|
||||||
|
|
||||||
|
|
||||||
<!-- realtime get handler, guaranteed to return the latest stored fields of
|
|
||||||
any document, without the need to commit or open a new searcher. The
|
|
||||||
current implementation relies on the updateLog feature being enabled.
|
|
||||||
|
|
||||||
** WARNING **
|
|
||||||
Do NOT disable the realtime get handler at /get if you are using
|
|
||||||
SolrCloud otherwise any leader election will cause a full sync in ALL
|
|
||||||
replicas for the shard in question. Similarly, a replica recovery will
|
|
||||||
also always fetch the complete index from the leader because a partial
|
|
||||||
sync will not be possible in the absence of this handler.
|
|
||||||
-->
|
|
||||||
<requestHandler name="/get" class="solr.RealTimeGetHandler">
|
|
||||||
<lst name="defaults">
|
|
||||||
<str name="omitHeader">true</str>
|
|
||||||
<str name="wt">json</str>
|
|
||||||
<str name="indent">true</str>
|
|
||||||
</lst>
|
|
||||||
</requestHandler>
|
|
||||||
|
|
||||||
|
|
||||||
<!-- A Robust Example
|
<!-- A Robust Example
|
||||||
|
|
||||||
This example SearchHandler declaration shows off usage of the
|
This example SearchHandler declaration shows off usage of the
|
||||||
|
@ -930,36 +909,6 @@
|
||||||
</lst>
|
</lst>
|
||||||
</initParams>
|
</initParams>
|
||||||
|
|
||||||
<!-- Update Request Handler.
|
|
||||||
|
|
||||||
http://wiki.apache.org/solr/UpdateXmlMessages
|
|
||||||
|
|
||||||
The canonical Request Handler for Modifying the Index through
|
|
||||||
commands specified using XML, JSON, CSV, or JAVABIN
|
|
||||||
|
|
||||||
Note: Since solr1.1 requestHandlers requires a valid content
|
|
||||||
type header if posted in the body. For example, curl now
|
|
||||||
requires: -H 'Content-type:text/xml; charset=utf-8'
|
|
||||||
|
|
||||||
To override the request content type and force a specific
|
|
||||||
Content-type, use the request parameter:
|
|
||||||
?update.contentType=text/csv
|
|
||||||
|
|
||||||
This handler will pick a response format to match the input
|
|
||||||
if the 'wt' parameter is not explicit
|
|
||||||
-->
|
|
||||||
<requestHandler name="/update" class="solr.UpdateRequestHandler">
|
|
||||||
<!-- See below for information on defining
|
|
||||||
updateRequestProcessorChains that can be used by name
|
|
||||||
on each Update Request
|
|
||||||
-->
|
|
||||||
<!--
|
|
||||||
<lst name="defaults">
|
|
||||||
<str name="update.chain">dedupe</str>
|
|
||||||
</lst>
|
|
||||||
-->
|
|
||||||
</requestHandler>
|
|
||||||
|
|
||||||
<!-- Solr Cell Update Request Handler
|
<!-- Solr Cell Update Request Handler
|
||||||
|
|
||||||
http://wiki.apache.org/solr/ExtractingRequestHandler
|
http://wiki.apache.org/solr/ExtractingRequestHandler
|
||||||
|
@ -1037,67 +986,6 @@
|
||||||
class="solr.DocumentAnalysisRequestHandler"
|
class="solr.DocumentAnalysisRequestHandler"
|
||||||
startup="lazy" />
|
startup="lazy" />
|
||||||
|
|
||||||
<!-- Admin Handlers
|
|
||||||
|
|
||||||
Admin Handlers - This will register all the standard admin
|
|
||||||
RequestHandlers.
|
|
||||||
-->
|
|
||||||
<requestHandler name="/admin/"
|
|
||||||
class="solr.admin.AdminHandlers" />
|
|
||||||
<!-- This single handler is equivalent to the following... -->
|
|
||||||
<!--
|
|
||||||
<requestHandler name="/admin/luke" class="solr.admin.LukeRequestHandler" />
|
|
||||||
<requestHandler name="/admin/system" class="solr.admin.SystemInfoHandler" />
|
|
||||||
<requestHandler name="/admin/plugins" class="solr.admin.PluginInfoHandler" />
|
|
||||||
<requestHandler name="/admin/threads" class="solr.admin.ThreadDumpHandler" />
|
|
||||||
<requestHandler name="/admin/properties" class="solr.admin.PropertiesRequestHandler" />
|
|
||||||
<requestHandler name="/admin/file" class="solr.admin.ShowFileRequestHandler" >
|
|
||||||
-->
|
|
||||||
<!-- If you wish to hide files under ${solr.home}/conf, explicitly
|
|
||||||
register the ShowFileRequestHandler using the definition below.
|
|
||||||
NOTE: The glob pattern ('*') is the only pattern supported at present, *.xml will
|
|
||||||
not exclude all files ending in '.xml'. Use it to exclude _all_ updates
|
|
||||||
-->
|
|
||||||
<!--
|
|
||||||
<requestHandler name="/admin/file"
|
|
||||||
class="solr.admin.ShowFileRequestHandler" >
|
|
||||||
<lst name="invariants">
|
|
||||||
<str name="hidden">synonyms.txt</str>
|
|
||||||
<str name="hidden">anotherfile.txt</str>
|
|
||||||
<str name="hidden">*</str>
|
|
||||||
</lst>
|
|
||||||
</requestHandler>
|
|
||||||
-->
|
|
||||||
|
|
||||||
<!--
|
|
||||||
Enabling this request handler (which is NOT a default part of the admin handler) will allow the Solr UI to edit
|
|
||||||
all the config files. This is intended for secure/development use ONLY! Leaving available and publically
|
|
||||||
accessible is a security vulnerability and should be done with extreme caution!
|
|
||||||
-->
|
|
||||||
<!--
|
|
||||||
<requestHandler name="/admin/fileedit" class="solr.admin.EditFileRequestHandler" >
|
|
||||||
<lst name="invariants">
|
|
||||||
<str name="hidden">synonyms.txt</str>
|
|
||||||
<str name="hidden">anotherfile.txt</str>
|
|
||||||
</lst>
|
|
||||||
</requestHandler>
|
|
||||||
-->
|
|
||||||
<!-- ping/healthcheck -->
|
|
||||||
<requestHandler name="/admin/ping" class="solr.PingRequestHandler">
|
|
||||||
<lst name="invariants">
|
|
||||||
<str name="q">solrpingquery</str>
|
|
||||||
</lst>
|
|
||||||
<lst name="defaults">
|
|
||||||
<str name="echoParams">all</str>
|
|
||||||
</lst>
|
|
||||||
<!-- An optional feature of the PingRequestHandler is to configure the
|
|
||||||
handler with a "healthcheckFile" which can be used to enable/disable
|
|
||||||
the PingRequestHandler.
|
|
||||||
relative paths are resolved against the data dir
|
|
||||||
-->
|
|
||||||
<!-- <str name="healthcheckFile">server-enabled.txt</str> -->
|
|
||||||
</requestHandler>
|
|
||||||
|
|
||||||
<!-- Echo the request contents back to the client -->
|
<!-- Echo the request contents back to the client -->
|
||||||
<requestHandler name="/debug/dump" class="solr.DumpRequestHandler" >
|
<requestHandler name="/debug/dump" class="solr.DumpRequestHandler" >
|
||||||
<lst name="defaults">
|
<lst name="defaults">
|
||||||
|
@ -1106,41 +994,6 @@
|
||||||
</lst>
|
</lst>
|
||||||
</requestHandler>
|
</requestHandler>
|
||||||
|
|
||||||
<!-- Solr Replication
|
|
||||||
|
|
||||||
The SolrReplicationHandler supports replicating indexes from a
|
|
||||||
"master" used for indexing and "slaves" used for queries.
|
|
||||||
|
|
||||||
http://wiki.apache.org/solr/SolrReplication
|
|
||||||
|
|
||||||
It is also necessary for SolrCloud to function (in Cloud mode, the
|
|
||||||
replication handler is used to bulk transfer segments when nodes
|
|
||||||
are added or need to recover).
|
|
||||||
|
|
||||||
https://wiki.apache.org/solr/SolrCloud/
|
|
||||||
-->
|
|
||||||
<requestHandler name="/replication" class="solr.ReplicationHandler" >
|
|
||||||
<!--
|
|
||||||
To enable simple master/slave replication, uncomment one of the
|
|
||||||
sections below, depending on whether this solr instance should be
|
|
||||||
the "master" or a "slave". If this instance is a "slave" you will
|
|
||||||
also need to fill in the masterUrl to point to a real machine.
|
|
||||||
-->
|
|
||||||
<!--
|
|
||||||
<lst name="master">
|
|
||||||
<str name="replicateAfter">commit</str>
|
|
||||||
<str name="replicateAfter">startup</str>
|
|
||||||
<str name="confFiles">schema.xml,stopwords.txt</str>
|
|
||||||
</lst>
|
|
||||||
-->
|
|
||||||
<!--
|
|
||||||
<lst name="slave">
|
|
||||||
<str name="masterUrl">http://your-master-hostname:8983/solr</str>
|
|
||||||
<str name="pollInterval">00:00:60</str>
|
|
||||||
</lst>
|
|
||||||
-->
|
|
||||||
</requestHandler>
|
|
||||||
|
|
||||||
<!-- Search Components
|
<!-- Search Components
|
||||||
|
|
||||||
Search components are registered to SolrCore and used by
|
Search components are registered to SolrCore and used by
|
||||||
|
|
|
@ -875,28 +875,7 @@
|
||||||
</lst>
|
</lst>
|
||||||
</requestHandler>
|
</requestHandler>
|
||||||
|
|
||||||
|
<!-- A Robust Example
|
||||||
<!-- realtime get handler, guaranteed to return the latest stored fields of
|
|
||||||
any document, without the need to commit or open a new searcher. The
|
|
||||||
current implementation relies on the updateLog feature being enabled.
|
|
||||||
|
|
||||||
** WARNING **
|
|
||||||
Do NOT disable the realtime get handler at /get if you are using
|
|
||||||
SolrCloud otherwise any leader election will cause a full sync in ALL
|
|
||||||
replicas for the shard in question. Similarly, a replica recovery will
|
|
||||||
also always fetch the complete index from the leader because a partial
|
|
||||||
sync will not be possible in the absence of this handler.
|
|
||||||
-->
|
|
||||||
<requestHandler name="/get" class="solr.RealTimeGetHandler">
|
|
||||||
<lst name="defaults">
|
|
||||||
<str name="omitHeader">true</str>
|
|
||||||
<str name="wt">json</str>
|
|
||||||
<str name="indent">true</str>
|
|
||||||
</lst>
|
|
||||||
</requestHandler>
|
|
||||||
|
|
||||||
|
|
||||||
<!-- A Robust Example
|
|
||||||
|
|
||||||
This example SearchHandler declaration shows off usage of the
|
This example SearchHandler declaration shows off usage of the
|
||||||
SearchHandler with many defaults declared
|
SearchHandler with many defaults declared
|
||||||
|
@ -932,37 +911,6 @@
|
||||||
</lst>
|
</lst>
|
||||||
</initParams>
|
</initParams>
|
||||||
|
|
||||||
<!-- Update Request Handler.
|
|
||||||
|
|
||||||
http://wiki.apache.org/solr/UpdateXmlMessages
|
|
||||||
|
|
||||||
The canonical Request Handler for Modifying the Index through
|
|
||||||
commands specified using XML, JSON, CSV, or JAVABIN
|
|
||||||
|
|
||||||
Note: Since solr1.1 requestHandlers requires a valid content
|
|
||||||
type header if posted in the body. For example, curl now
|
|
||||||
requires: -H 'Content-type:text/xml; charset=utf-8'
|
|
||||||
|
|
||||||
To override the request content type and force a specific
|
|
||||||
Content-type, use the request parameter:
|
|
||||||
?update.contentType=text/csv
|
|
||||||
|
|
||||||
This handler will pick a response format to match the input
|
|
||||||
if the 'wt' parameter is not explicit
|
|
||||||
-->
|
|
||||||
<requestHandler name="/update" class="solr.UpdateRequestHandler">
|
|
||||||
<!-- See below for information on defining
|
|
||||||
updateRequestProcessorChains that can be used by name
|
|
||||||
on each Update Request
|
|
||||||
-->
|
|
||||||
<!--
|
|
||||||
<lst name="defaults">
|
|
||||||
<str name="update.chain">dedupe</str>
|
|
||||||
</lst>
|
|
||||||
-->
|
|
||||||
</requestHandler>
|
|
||||||
|
|
||||||
|
|
||||||
<!-- Solr Cell Update Request Handler
|
<!-- Solr Cell Update Request Handler
|
||||||
|
|
||||||
http://wiki.apache.org/solr/ExtractingRequestHandler
|
http://wiki.apache.org/solr/ExtractingRequestHandler
|
||||||
|
@ -1040,67 +988,6 @@
|
||||||
class="solr.DocumentAnalysisRequestHandler"
|
class="solr.DocumentAnalysisRequestHandler"
|
||||||
startup="lazy" />
|
startup="lazy" />
|
||||||
|
|
||||||
<!-- Admin Handlers
|
|
||||||
|
|
||||||
Admin Handlers - This will register all the standard admin
|
|
||||||
RequestHandlers.
|
|
||||||
-->
|
|
||||||
<requestHandler name="/admin/"
|
|
||||||
class="solr.admin.AdminHandlers" />
|
|
||||||
<!-- This single handler is equivalent to the following... -->
|
|
||||||
<!--
|
|
||||||
<requestHandler name="/admin/luke" class="solr.admin.LukeRequestHandler" />
|
|
||||||
<requestHandler name="/admin/system" class="solr.admin.SystemInfoHandler" />
|
|
||||||
<requestHandler name="/admin/plugins" class="solr.admin.PluginInfoHandler" />
|
|
||||||
<requestHandler name="/admin/threads" class="solr.admin.ThreadDumpHandler" />
|
|
||||||
<requestHandler name="/admin/properties" class="solr.admin.PropertiesRequestHandler" />
|
|
||||||
<requestHandler name="/admin/file" class="solr.admin.ShowFileRequestHandler" >
|
|
||||||
-->
|
|
||||||
<!-- If you wish to hide files under ${solr.home}/conf, explicitly
|
|
||||||
register the ShowFileRequestHandler using the definition below.
|
|
||||||
NOTE: The glob pattern ('*') is the only pattern supported at present, *.xml will
|
|
||||||
not exclude all files ending in '.xml'. Use it to exclude _all_ updates
|
|
||||||
-->
|
|
||||||
<!--
|
|
||||||
<requestHandler name="/admin/file"
|
|
||||||
class="solr.admin.ShowFileRequestHandler" >
|
|
||||||
<lst name="invariants">
|
|
||||||
<str name="hidden">synonyms.txt</str>
|
|
||||||
<str name="hidden">anotherfile.txt</str>
|
|
||||||
<str name="hidden">*</str>
|
|
||||||
</lst>
|
|
||||||
</requestHandler>
|
|
||||||
-->
|
|
||||||
|
|
||||||
<!--
|
|
||||||
Enabling this request handler (which is NOT a default part of the admin handler) will allow the Solr UI to edit
|
|
||||||
all the config files. This is intended for secure/development use ONLY! Leaving available and publically
|
|
||||||
accessible is a security vulnerability and should be done with extreme caution!
|
|
||||||
-->
|
|
||||||
<!--
|
|
||||||
<requestHandler name="/admin/fileedit" class="solr.admin.EditFileRequestHandler" >
|
|
||||||
<lst name="invariants">
|
|
||||||
<str name="hidden">synonyms.txt</str>
|
|
||||||
<str name="hidden">anotherfile.txt</str>
|
|
||||||
</lst>
|
|
||||||
</requestHandler>
|
|
||||||
-->
|
|
||||||
<!-- ping/healthcheck -->
|
|
||||||
<requestHandler name="/admin/ping" class="solr.PingRequestHandler">
|
|
||||||
<lst name="invariants">
|
|
||||||
<str name="q">solrpingquery</str>
|
|
||||||
</lst>
|
|
||||||
<lst name="defaults">
|
|
||||||
<str name="echoParams">all</str>
|
|
||||||
</lst>
|
|
||||||
<!-- An optional feature of the PingRequestHandler is to configure the
|
|
||||||
handler with a "healthcheckFile" which can be used to enable/disable
|
|
||||||
the PingRequestHandler.
|
|
||||||
relative paths are resolved against the data dir
|
|
||||||
-->
|
|
||||||
<!-- <str name="healthcheckFile">server-enabled.txt</str> -->
|
|
||||||
</requestHandler>
|
|
||||||
|
|
||||||
<!-- Echo the request contents back to the client -->
|
<!-- Echo the request contents back to the client -->
|
||||||
<requestHandler name="/debug/dump" class="solr.DumpRequestHandler" >
|
<requestHandler name="/debug/dump" class="solr.DumpRequestHandler" >
|
||||||
<lst name="defaults">
|
<lst name="defaults">
|
||||||
|
@ -1109,41 +996,6 @@
|
||||||
</lst>
|
</lst>
|
||||||
</requestHandler>
|
</requestHandler>
|
||||||
|
|
||||||
<!-- Solr Replication
|
|
||||||
|
|
||||||
The SolrReplicationHandler supports replicating indexes from a
|
|
||||||
"master" used for indexing and "slaves" used for queries.
|
|
||||||
|
|
||||||
http://wiki.apache.org/solr/SolrReplication
|
|
||||||
|
|
||||||
It is also necessary for SolrCloud to function (in Cloud mode, the
|
|
||||||
replication handler is used to bulk transfer segments when nodes
|
|
||||||
are added or need to recover).
|
|
||||||
|
|
||||||
https://wiki.apache.org/solr/SolrCloud/
|
|
||||||
-->
|
|
||||||
<requestHandler name="/replication" class="solr.ReplicationHandler" >
|
|
||||||
<!--
|
|
||||||
To enable simple master/slave replication, uncomment one of the
|
|
||||||
sections below, depending on whether this solr instance should be
|
|
||||||
the "master" or a "slave". If this instance is a "slave" you will
|
|
||||||
also need to fill in the masterUrl to point to a real machine.
|
|
||||||
-->
|
|
||||||
<!--
|
|
||||||
<lst name="master">
|
|
||||||
<str name="replicateAfter">commit</str>
|
|
||||||
<str name="replicateAfter">startup</str>
|
|
||||||
<str name="confFiles">schema.xml,stopwords.txt</str>
|
|
||||||
</lst>
|
|
||||||
-->
|
|
||||||
<!--
|
|
||||||
<lst name="slave">
|
|
||||||
<str name="masterUrl">http://your-master-hostname:8983/solr</str>
|
|
||||||
<str name="pollInterval">00:00:60</str>
|
|
||||||
</lst>
|
|
||||||
-->
|
|
||||||
</requestHandler>
|
|
||||||
|
|
||||||
<!-- Search Components
|
<!-- Search Components
|
||||||
|
|
||||||
Search components are registered to SolrCore and used by
|
Search components are registered to SolrCore and used by
|
||||||
|
|
|
@ -1010,18 +1010,6 @@
|
||||||
class="solr.DocumentAnalysisRequestHandler"
|
class="solr.DocumentAnalysisRequestHandler"
|
||||||
startup="lazy" />
|
startup="lazy" />
|
||||||
|
|
||||||
<!-- This single handler is equivalent to the following... -->
|
|
||||||
<!--
|
|
||||||
<requestHandler name="/admin/luke" class="solr.admin.LukeRequestHandler" />
|
|
||||||
<requestHandler name="/admin/system" class="solr.admin.SystemInfoHandler" />
|
|
||||||
<requestHandler name="/admin/plugins" class="solr.admin.PluginInfoHandler" />
|
|
||||||
<requestHandler name="/admin/threads" class="solr.admin.ThreadDumpHandler" />
|
|
||||||
<requestHandler name="/admin/properties" class="solr.admin.PropertiesRequestHandler" />
|
|
||||||
<requestHandler name="/admin/file" class="solr.admin.ShowFileRequestHandler" >
|
|
||||||
-->
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<!-- Echo the request contents back to the client -->
|
<!-- Echo the request contents back to the client -->
|
||||||
<requestHandler name="/debug/dump" class="solr.DumpRequestHandler" >
|
<requestHandler name="/debug/dump" class="solr.DumpRequestHandler" >
|
||||||
<lst name="defaults">
|
<lst name="defaults">
|
||||||
|
@ -1030,41 +1018,6 @@
|
||||||
</lst>
|
</lst>
|
||||||
</requestHandler>
|
</requestHandler>
|
||||||
|
|
||||||
<!-- Solr Replication
|
|
||||||
|
|
||||||
The SolrReplicationHandler supports replicating indexes from a
|
|
||||||
"master" used for indexing and "slaves" used for queries.
|
|
||||||
|
|
||||||
http://wiki.apache.org/solr/SolrReplication
|
|
||||||
|
|
||||||
It is also necessary for SolrCloud to function (in Cloud mode, the
|
|
||||||
replication handler is used to bulk transfer segments when nodes
|
|
||||||
are added or need to recover).
|
|
||||||
|
|
||||||
https://wiki.apache.org/solr/SolrCloud/
|
|
||||||
-->
|
|
||||||
<requestHandler name="/replication" class="solr.ReplicationHandler" >
|
|
||||||
<!--
|
|
||||||
To enable simple master/slave replication, uncomment one of the
|
|
||||||
sections below, depending on whether this solr instance should be
|
|
||||||
the "master" or a "slave". If this instance is a "slave" you will
|
|
||||||
also need to fill in the masterUrl to point to a real machine.
|
|
||||||
-->
|
|
||||||
<!--
|
|
||||||
<lst name="master">
|
|
||||||
<str name="replicateAfter">commit</str>
|
|
||||||
<str name="replicateAfter">startup</str>
|
|
||||||
<str name="confFiles">schema.xml,stopwords.txt</str>
|
|
||||||
</lst>
|
|
||||||
-->
|
|
||||||
<!--
|
|
||||||
<lst name="slave">
|
|
||||||
<str name="masterUrl">http://your-master-hostname:8983/solr</str>
|
|
||||||
<str name="pollInterval">00:00:60</str>
|
|
||||||
</lst>
|
|
||||||
-->
|
|
||||||
</requestHandler>
|
|
||||||
|
|
||||||
<!-- Search Components
|
<!-- Search Components
|
||||||
|
|
||||||
Search components are registered to SolrCore and used by
|
Search components are registered to SolrCore and used by
|
||||||
|
|
|
@ -1019,26 +1019,6 @@
|
||||||
</requestHandler>
|
</requestHandler>
|
||||||
|
|
||||||
|
|
||||||
<!-- Update Request Handler.
|
|
||||||
|
|
||||||
http://wiki.apache.org/solr/UpdateXmlMessages
|
|
||||||
|
|
||||||
The canonical Request Handler for Modifying the Index through
|
|
||||||
commands specified using XML, JSON, CSV, or JAVABIN
|
|
||||||
|
|
||||||
Note: Since solr1.1 requestHandlers requires a valid content
|
|
||||||
type header if posted in the body. For example, curl now
|
|
||||||
requires: -H 'Content-type:text/xml; charset=utf-8'
|
|
||||||
|
|
||||||
To override the request content type and force a specific
|
|
||||||
Content-type, use the request parameter:
|
|
||||||
?update.contentType=text/csv
|
|
||||||
|
|
||||||
This handler will pick a response format to match the input
|
|
||||||
if the 'wt' parameter is not explicit
|
|
||||||
-->
|
|
||||||
<!--<requestHandler name="/update" class="solr.UpdateRequestHandler">
|
|
||||||
</requestHandler>-->
|
|
||||||
<initParams path="/update/**,/query,/select,/tvrh,/elevate,/spell,/browse">
|
<initParams path="/update/**,/query,/select,/tvrh,/elevate,/spell,/browse">
|
||||||
<lst name="defaults">
|
<lst name="defaults">
|
||||||
<str name="df">text</str>
|
<str name="df">text</str>
|
||||||
|
@ -1147,44 +1127,6 @@
|
||||||
class="solr.DocumentAnalysisRequestHandler"
|
class="solr.DocumentAnalysisRequestHandler"
|
||||||
startup="lazy" />
|
startup="lazy" />
|
||||||
|
|
||||||
<!-- This single handler is equivalent to the following... -->
|
|
||||||
<!--
|
|
||||||
<requestHandler name="/admin/luke" class="solr.admin.LukeRequestHandler" />
|
|
||||||
<requestHandler name="/admin/system" class="solr.admin.SystemInfoHandler" />
|
|
||||||
<requestHandler name="/admin/plugins" class="solr.admin.PluginInfoHandler" />
|
|
||||||
<requestHandler name="/admin/threads" class="solr.admin.ThreadDumpHandler" />
|
|
||||||
<requestHandler name="/admin/properties" class="solr.admin.PropertiesRequestHandler" />
|
|
||||||
<requestHandler name="/admin/file" class="solr.admin.ShowFileRequestHandler" >
|
|
||||||
-->
|
|
||||||
<!-- If you wish to hide files under ${solr.home}/conf, explicitly
|
|
||||||
register the ShowFileRequestHandler using the definition below.
|
|
||||||
NOTE: The glob pattern ('*') is the only pattern supported at present, *.xml will
|
|
||||||
not exclude all files ending in '.xml'. Use it to exclude _all_ updates
|
|
||||||
-->
|
|
||||||
<!--
|
|
||||||
<requestHandler name="/admin/file"
|
|
||||||
class="solr.admin.ShowFileRequestHandler" >
|
|
||||||
<lst name="invariants">
|
|
||||||
<str name="hidden">synonyms.txt</str>
|
|
||||||
<str name="hidden">anotherfile.txt</str>
|
|
||||||
<str name="hidden">*</str>
|
|
||||||
</lst>
|
|
||||||
</requestHandler>
|
|
||||||
-->
|
|
||||||
<!--
|
|
||||||
Enabling this request handler (which is NOT a default part of the admin handler) will allow the Solr UI to edit
|
|
||||||
all the config files. This is intended for secure/development use ONLY! Leaving available and publically
|
|
||||||
accessible is a security vulnerability and should be done with extreme caution!
|
|
||||||
-->
|
|
||||||
<!--
|
|
||||||
<requestHandler name="/admin/fileedit" class="solr.admin.EditFileRequestHandler" >
|
|
||||||
<lst name="invariants">
|
|
||||||
<str name="hidden">synonyms.txt</str>
|
|
||||||
<str name="hidden">anotherfile.txt</str>
|
|
||||||
</lst>
|
|
||||||
</requestHandler>
|
|
||||||
-->
|
|
||||||
|
|
||||||
<!-- Echo the request contents back to the client -->
|
<!-- Echo the request contents back to the client -->
|
||||||
<requestHandler name="/debug/dump" class="solr.DumpRequestHandler" >
|
<requestHandler name="/debug/dump" class="solr.DumpRequestHandler" >
|
||||||
<lst name="defaults">
|
<lst name="defaults">
|
||||||
|
|
|
@ -41,8 +41,6 @@
|
||||||
<requestHandler name="lazy" class="solr.StandardRequestHandler" startup="lazy">
|
<requestHandler name="lazy" class="solr.StandardRequestHandler" startup="lazy">
|
||||||
</requestHandler>
|
</requestHandler>
|
||||||
|
|
||||||
<requestHandler name="/update" class="solr.UpdateRequestHandler" />
|
|
||||||
|
|
||||||
<requestHandler name="/replication" class="solr.ReplicationHandler">
|
<requestHandler name="/replication" class="solr.ReplicationHandler">
|
||||||
|
|
||||||
</requestHandler>
|
</requestHandler>
|
||||||
|
|
|
@ -34,15 +34,6 @@
|
||||||
</updateLog>
|
</updateLog>
|
||||||
</updateHandler>
|
</updateHandler>
|
||||||
|
|
||||||
<!-- realtime get handler, guaranteed to return the latest stored fields
|
|
||||||
of any document, without the need to commit or open a new searcher. The current
|
|
||||||
implementation relies on the updateLog feature being enabled. -->
|
|
||||||
<requestHandler name="/get" class="solr.RealTimeGetHandler">
|
|
||||||
<lst name="defaults">
|
|
||||||
<str name="omitHeader">true</str>
|
|
||||||
</lst>
|
|
||||||
</requestHandler>
|
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
Distributed Stream processing.
|
Distributed Stream processing.
|
||||||
-->
|
-->
|
||||||
|
@ -61,21 +52,7 @@
|
||||||
<requestParsers enableRemoteStreaming="false" multipartUploadLimitInKB="2048" />
|
<requestParsers enableRemoteStreaming="false" multipartUploadLimitInKB="2048" />
|
||||||
</requestDispatcher>
|
</requestDispatcher>
|
||||||
|
|
||||||
<requestHandler name="/replication" class="solr.ReplicationHandler" startup="lazy" />
|
|
||||||
|
|
||||||
<requestHandler name="standard" class="solr.StandardRequestHandler" default="true" />
|
<requestHandler name="standard" class="solr.StandardRequestHandler" default="true" />
|
||||||
<requestHandler name="/update" class="solr.UpdateRequestHandler" />
|
|
||||||
<requestHandler name="/admin/" class="org.apache.solr.handler.admin.AdminHandlers" />
|
|
||||||
|
|
||||||
<requestHandler name="/admin/ping" class="solr.PingRequestHandler">
|
|
||||||
<lst name="invariants">
|
|
||||||
<str name="q">*:*</str>
|
|
||||||
</lst>
|
|
||||||
<lst name="defaults">
|
|
||||||
<str name="echoParams">all</str>
|
|
||||||
</lst>
|
|
||||||
<str name="healthcheckFile">server-enabled.txt</str>
|
|
||||||
</requestHandler>
|
|
||||||
|
|
||||||
<!-- config for the admin interface -->
|
<!-- config for the admin interface -->
|
||||||
<admin>
|
<admin>
|
||||||
|
|
|
@ -34,24 +34,11 @@
|
||||||
</updateLog>
|
</updateLog>
|
||||||
</updateHandler>
|
</updateHandler>
|
||||||
|
|
||||||
<!-- realtime get handler, guaranteed to return the latest stored fields
|
|
||||||
of any document, without the need to commit or open a new searcher. The current
|
|
||||||
implementation relies on the updateLog feature being enabled. -->
|
|
||||||
<requestHandler name="/get" class="solr.RealTimeGetHandler">
|
|
||||||
<lst name="defaults">
|
|
||||||
<str name="omitHeader">true</str>
|
|
||||||
</lst>
|
|
||||||
</requestHandler>
|
|
||||||
|
|
||||||
<requestDispatcher handleSelect="true" >
|
<requestDispatcher handleSelect="true" >
|
||||||
<requestParsers enableRemoteStreaming="false" multipartUploadLimitInKB="2048" />
|
<requestParsers enableRemoteStreaming="false" multipartUploadLimitInKB="2048" />
|
||||||
</requestDispatcher>
|
</requestDispatcher>
|
||||||
|
|
||||||
<requestHandler name="/replication" class="solr.ReplicationHandler" startup="lazy" />
|
|
||||||
|
|
||||||
<requestHandler name="standard" class="solr.StandardRequestHandler" default="true" />
|
<requestHandler name="standard" class="solr.StandardRequestHandler" default="true" />
|
||||||
<requestHandler name="/update" class="solr.UpdateRequestHandler" />
|
|
||||||
<requestHandler name="/admin/" class="org.apache.solr.handler.admin.AdminHandlers" />
|
|
||||||
|
|
||||||
<requestHandler name="/admin/ping" class="solr.PingRequestHandler">
|
<requestHandler name="/admin/ping" class="solr.PingRequestHandler">
|
||||||
<lst name="invariants">
|
<lst name="invariants">
|
||||||
|
|
|
@ -51,9 +51,5 @@
|
||||||
</lst>
|
</lst>
|
||||||
|
|
||||||
</requestHandler>
|
</requestHandler>
|
||||||
|
|
||||||
<requestHandler name="/admin/" class="org.apache.solr.handler.admin.AdminHandlers" />
|
|
||||||
|
|
||||||
<requestHandler name="/update" class="solr.UpdateRequestHandler" />
|
|
||||||
</config>
|
</config>
|
||||||
|
|
||||||
|
|
|
@ -44,9 +44,5 @@
|
||||||
</lst>
|
</lst>
|
||||||
|
|
||||||
</requestHandler>
|
</requestHandler>
|
||||||
|
|
||||||
<requestHandler name="/admin/" class="org.apache.solr.handler.admin.AdminHandlers" />
|
|
||||||
|
|
||||||
<requestHandler name="/update" class="solr.UpdateRequestHandler" />
|
|
||||||
</config>
|
</config>
|
||||||
|
|
||||||
|
|
|
@ -39,9 +39,7 @@
|
||||||
</requestDispatcher>
|
</requestDispatcher>
|
||||||
|
|
||||||
<requestHandler name="standard" class="solr.StandardRequestHandler" default="true" />
|
<requestHandler name="standard" class="solr.StandardRequestHandler" default="true" />
|
||||||
<requestHandler name="/update" class="solr.UpdateRequestHandler" />
|
|
||||||
<requestHandler name="/admin/" class="org.apache.solr.handler.admin.AdminHandlers" />
|
|
||||||
|
|
||||||
<!-- config for the admin interface -->
|
<!-- config for the admin interface -->
|
||||||
<admin>
|
<admin>
|
||||||
<defaultQuery>solr</defaultQuery>
|
<defaultQuery>solr</defaultQuery>
|
||||||
|
|
Loading…
Reference in New Issue