ctargett commented on a change in pull request #1921: URL: https://github.com/apache/lucene-solr/pull/1921#discussion_r495489646
########## File path: solr/solr-ref-guide/src/requesthandlers-and-searchcomponents-in-solrconfig.adoc ########## @@ -18,34 +18,84 @@ After the `<query>` section of `solrconfig.xml`, request handlers and search components are configured. -A _request handler_ processes requests coming to Solr. These might be query requests or index update requests. You will likely need several of these defined, depending on how you want Solr to handle the various requests you will make. +A _request handler_ processes requests coming to Solr. These might be query requests, index update requests or specialized interactions such as <<ping.adoc#ping,ping>>. -A _search component_ is a feature of search, such as highlighting or faceting. The search component is defined in `solrconfig.xml` separate from the request handlers, and then registered with a request handler as needed. +Not all handlers are defined explicitly in `solrconfig.xml`, many essential ones are actually defined <<implicit-requesthandlers.adoc#implicit-requesthandlers,implicitly>>. -These are often referred to as "requestHandler" and "searchComponent", which is how they are defined in `solrconfig.xml`. +Additionally, handlers can be defined - or even overridden - in `configoverlay.json` by using <<config-api.adoc#config-api,Config API>>. +Finally, independent parameter sets can be also defined by <<request-parameters-api.adoc#request-parameters-api,Request Parameters API>>. +They will be stored in `params.json` file and referenced with <<#paramsets-and-useparams,useParams>>. -== Request Handlers +All of this multi-layered configuration, may be verified via <<config-api.adoc#config-api,Config API>>. -Every request handler is defined with a name and a class. The name of the request handler is referenced with the request to Solr, typically as a path. For example, if Solr is installed at `\http://localhost:8983/solr/` and you have a collection named "gettingstarted", you can make a request that looks like this: +Defining your own config handlers is often a useful way to provide defaults and advanced configuration to support business cases and simplify client API. +At the same time, using every single option explained in this guide, will most certainly cause some confusion about which parameter is actually used when. + +== Defining and calling Request Handlers + Review comment: Section headings should be in Headline Case (all main words capitalized) ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org