You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-commits@lucene.apache.org by Apache Wiki <wi...@apache.org> on 2007/09/18 02:55:42 UTC
[Solr Wiki] Update of "SolrRequestHandler" by HossMan
Dear Wiki user,
You have subscribed to a wiki page or wiki category on "Solr Wiki" for change notification.
The following page has been changed by HossMan:
http://wiki.apache.org/solr/SolrRequestHandler
------------------------------------------------------------------------------
- = SolrRequestHandler =
+ A [http://lucene.apache.org/solr/api/org/apache/solr/request/SolrRequestHandler.html SolrRequestHandler] is a [:SolrPlugins:Solr Plugin] that defines the logic executed for any request.
- A [http://lucene.apache.org/solr/api/org/apache/solr/request/SolrRequestHandler.html SolrRequestHandler] is a !SolrPlugin that defines the logic executed for any request. Multiple handlers (including multiple instances of the same !SolrRequestHandler class with different configurations) can be specified in the [wiki:SolrConfigXml solrconfig.xml]
+ [[TableOfContents(3)]]
+
+ == Configuration ==
+
+ Multiple handlers (including multiple instances of the same !SolrRequestHandler class with different configurations) can be specified in the [wiki:SolrConfigXml solrconfig.xml]
{{{
<requestHandler name="foo" default="true" class="my.package.CustomRequestHandler" />
@@ -21, +25 @@
== Handler Resolution ==
- Clients access specific !SolrRequestHandlers either with the [http://wiki.apache.org/solr/CoreQueryParameters 'qt' parameter] on a request for the {{{/select/}}} url, or through the path registered in solrconfig.xml. For the above example, running on localhost:8983/solr/, you could access:
+ Clients access specific !SolrRequestHandlers either with the [:CoreQueryParameters:'qt' parameter] on a request for the {{{/select/}}} url, or through the path registered in solrconfig.xml. For the above example, running on localhost:8983/solr/, you could access:
{{{
http://localhost:8983/solr/select/?qt=foo&...
@@ -39, +43 @@
Note! If your solrconfig.xml contains requestHandlers with the name= "/select", "/update", or "/admin" you will short circuit the standard request processing and use your own logic.
-
== ContentStreams ==
@@ -80, +83 @@
This handler simply outputs the contents of the !SolrQueryRequest using the specified writer type [http://wiki.apache.org/solr/CoreQueryParameters 'wt']. This is a useful tool to help understand what streams are avaliable to to the !RequestHandlers.
- -------
+ == List of Request Handlers Available ==
- see: SolrPlugins
+ The Javadocs contain [http://lucene.apache.org/solr/api/org/apache/solr/request/SolrRequestHandler.html a complete list of Request Handlers]. Many of which have their own wiki pages...
+ [[FullSearch(linkto:CategorySolrRequestHandler -title:CategorySolrRequestHandler)]]
+