In these advanced DSE Search tutorial steps, verify that solrconfig.xml includes a
solr_query request handler that is required to run CQL Solr queries.
To run CQL Solr queries, the solrconfig.xml must include a
solr_query request handler. An automatically generated solrconfig includes this
request handler. Verify that the solrconfig.xml file includes
the request handler.
Procedure
-
In a text editor, open the solrconfig.xml file in the
solr_tutorial46 directory that you downloaded.
-
In your editor, search the solrconfig.xml file for
"SearchHandler".
You see this location:
<!-- SearchHandler
http://wiki.apache.org/solr/SearchHandler
For processing Search Queries, the primary Request Handler
provided with Solr is "SearchHandler" It delegates to a sequent
of SearchComponents (see below) and supports distributed
queries across multiple shards
-->
-
Check that the following request handler appears below the SearchHandler
comment.
<requestHandler class="com.datastax.bdp.search.solr.handler.component.CqlSearchHandler"
name="solr_query">
If the solr_query request handler is not in
solrconfig.xml, add it.