Verify the request handler

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.

These advanced DSE Search tutorial steps verify that solrconfig.xml includes the solr_query request handler that is required to run CQL Solr queries. An automatically generated solrconfig includes this request handler.

Procedure

  1. In a text editor, open the solrconfig.xml file in the solr_tutorial46 directory that you downloaded.
  2. 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
        -->
  3. 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.