Implicit RequestHandlers

Solr ships with many out-of-the-box RequestHandlers, which are called implicit because they do not need to be configured in solrconfig.xml before you are able to use them.

These handlers have pre-defined default parameters, known as paramsets, which can be modified if necessary.

Available Implicit Endpoints

All endpoint paths listed below should be placed after Solr’s host and port (if a port is used) to construct a URL.

Admin Handlers

Many of these handlers are used throughout the Admin UI to show information about Solr.

File

Returns content of files in ${solr.home}/conf/. This handler must have a collection name in the path to the endpoint.

API EndpointClass & JavadocsParamset
solr/<collection>/admin/fileShowFileRequestHandler_ADMIN_FILE
Logging

Retrieve and modify registered loggers.

API EndpointsClass & JavadocsParamset

v1: solr/admin/info/logging

v2: api/node/logging

LoggingHandler_ADMIN_LOGGING
Luke

Expose the internal lucene index. This handler must have a collection name in the path to the endpoint.

Documentation: http://wiki.apache.org/solr/LukeRequestHandler

API EndpointClass & JavadocsParamset
solr/<collection>/admin/lukeLukeRequestHandler_ADMIN_LUKE
MBeans

Provide info about all registered SolrInfoMBeans. This handler must have a collection name in the path to the endpoint.

Documentation: MBean Request Handler

API EndpointClass & JavadocsParamset
solr/<collection>/admin/mbeansSolrInfoMBeanHandler_ADMIN_MBEANS
Ping

Health check. This handler must have a collection name in the path to the endpoint.

Documentation: Ping

API EndpointClass & JavadocsParamset
solr/<collection>/admin/pingPingRequestHandler_ADMIN_PING
Plugins

Return info about all registered plugins. This handler must have a collection name in the path to the endpoint.

API EndpointClass & JavadocsParamset
solr/<collection>/admin/pluginsPluginInfoHandlerNone.
System Properties

Return JRE system properties.

API EndpointsClass & JavadocsParamset

v1: solr/admin/info/properties

v2: api/node/properties

PropertiesRequestHandler_ADMIN_PROPERTIES
Segments

Return info on last commit generation Lucene index segments.

API EndpointClass & JavadocsParamset
solr/<collection>/admin/segmentsSegmentsInfoRequestHandler_ADMIN_SEGMENTS
System Settings

Return server statistics and settings.

Documentation: https://wiki.apache.org/solr/SystemInformationRequestHandlers#SystemInfoHandler

API EndpointsClass & JavadocsParamset

v1: solr/admin/info/system

v2: api/node/system

SystemInfoHandler_ADMIN_SYSTEM

This endpoint can also take the collection or core name in the path (solr/<collection>/admin/system or solr/<core>/admin/system) which will include all of the system-level information and additional information about the specific core that served the request.

Threads

Return info on all JVM threads.

API EndpointsClass & JavadocsParamset

v1: solr/admin/info/threads

v2: api/node/threads

ThreadDumpHandler_ADMIN_THREADS

Analysis Handlers

Document Analysis

Return a breakdown of the analysis process of the given document.

Documentation: https://wiki.apache.org/solr/AnalysisRequestHandler

API EndpointClass & JavadocsParamset
solr/<collection>/analysis/documentDocumentAnalysisRequestHandler_ANALYSIS_DOCUMENT
Field Analysis

Return index- and query-time analysis over the given field(s)/field type(s). This handler drives the Analysis screen in Solr’s Admin UI.

API EndpointClass & JavadocsParamset
solr/<collection>/analysis/fieldFieldAnalysisRequestHandler_ANALYSIS_FIELD

Handlers for Configuration

Config API

Retrieve and modify Solr configuration.

Documentation: Config API

API EndpointClass & JavadocsParamset

v1: solr/<collection>/config

v2: api/collections/<collection>/config

SolrConfigHandler_CONFIG
Dump

Echo the request contents back to the client.

API EndpointClass & JavadocsParamset
solr/debug/dumpDumpRequestHandler_DEBUG_DUMP
Replication

Replicate indexes for SolrCloud recovery and Master/Slave index distribution. This handler must have a core name in the path to the endpoint.

API EndpointClass & JavadocsParamset
solr/<core>/replicationReplicationHandler_REPLICATION
Schema API

Retrieve and modify the Solr schema.

Documentation: Schema API

API EndpointClass & JavadocsParamset

v1: solr/<collection>/schema, solr/<core>/schema

v2: api/collections/<collection>/schema, api/cores/<core>/schema

SchemaHandler_SCHEMA

Query Handlers

Export

Export full sorted result sets.

Documentation: Exporting Result Sets

API EndpointClass & JavadocsParamset
solr/<collection>/exportExportHandler_EXPORT
RealTimeGet

Low-latency retrieval of the latest version of a document.

Documentation: RealTime Get

API EndpointClass & JavadocsParamset
solr/<collection>/getRealTimeGetHandler_GET
Graph Traversal

Return GraphML formatted output from a gatherNodes streaming expression.

Documentation: Graph Traversal

API EndpointClass & JavadocsParamset
solr/<collection>/graphGraphHandler_ADMIN_GRAPH
SQL

Front end of the Parallel SQL interface.

Documentation: SQL Request Handler

API EndpointClass & JavadocsParamset
solr/<collection>/sqlSQLHandler_SQL
Streaming Expressions

Distributed stream processing.

Documentation: Streaming Requests and Responses

API EndpointClass & JavadocsParamset
solr/<collection>/streamStreamHandler_STREAM
Terms

Return a field’s indexed terms and the number of documents containing each term.

Documentation: Using the Terms Component in a Request Handler

API EndpointClass & JavadocsParamset
solr/<collection>/termsSearchHandler_TERMS

Update Handlers

Update

Add, delete and update indexed documents formatted as SolrXML, CSV, SolrJSON or javabin.

Documentation: Uploading Data with Index Handlers

API EndpointClass & JavadocsParamset
solr/<collection>/updateUpdateRequestHandler_UPDATE
CSV Updates

Add and update CSV-formatted documents.

Documentation: CSV Update Convenience Paths

API EndpointClass & JavadocsParamset
solr/<collection>/update/csvUpdateRequestHandler_UPDATE_CSV
JSON Updates

Add, delete and update SolrJSON-formatted documents.

Documentation: JSON Update Convenience Paths

API EndpointClass & JavadocsParamset
solr/<collection>/update/jsonUpdateRequestHandler_UPDATE_JSON
Custom JSON Updates

Add and update custom JSON-formatted documents.

Documentation: Transforming and Indexing Custom JSON

API EndpointClass & JavadocsParamset
solr/<collection>/update/json/docsUpdateRequestHandler_UPDATE_JSON_DOCS

How to View Implicit Handler Paramsets

You can see configuration for all request handlers, including the implicit request handlers, via the Config API.

To include the expanded paramset in the response, as well as the effective parameters from merging the paramset parameters with the built-in parameters, use the expandParams request param. For the /export request handler, you can make a request like this:

V1 API

http://localhost:8983/solr/gettingstarted/config/requestHandler?componentName=/export&expandParams=true

V2 API

http://localhost:8983/api/collections/gettingstarted/config/requestHandler?componentName=/export&expandParams=true

The response will look similar to:

{
  "config": {
    "requestHandler": {
      "/export": {
        "class": "solr.ExportHandler",
        "useParams": "_EXPORT",
        "components": ["query"],
        "defaults": {
          "wt": "json"
        },
        "invariants": {
          "rq": "{!xport}",
          "distrib": false
        },
        "name": "/export",
        "_useParamsExpanded_": {
          "_EXPORT": "[NOT AVAILABLE]"
        },
        "_effectiveParams_": {
          "distrib": "false",
          "omitHeader": "true",
          "wt": "json",
          "rq": "{!xport}"
        }
      }
    }
  }
}

How to Edit Implicit Handler Paramsets

Because implicit request handlers are not present in solrconfig.xml, configuration of their associated default, invariant and appends parameters may be edited via the  Request Parameters API using the paramset listed in the above table. However, other parameters, including SearchHandler components, may not be modified. The invariants and appends specified in the implicit configuration cannot be overridden.