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 file must include a
solr_query request handler. An automatically generated
solrconfig.xml file includes this request handler.
Procedure
-
In a text editor, open the solrconfig.xml file from the
solr_tutorial46 directory that you downloaded.
-
In the text editor, search 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
-->
-
Verify that the following request handler appears below the SearchHandler
comment.
<requestHandler name="solr_query" class="com.datastax.bdp.search.solr.handler.component.CqlSearchHandler"/>
If the solr_query request handler is not in the
solrconfig.xml file, add it.