I'm doing some experimenting with Solr 5.3 and the 7.x-1.x-dev version of
the Apache Solr Search module for Drupal. Things seem to be working fine,
except that this warning message appears in the Solr admin logging window
and in the server log:

"no default request handler is registered (either '/select' or 'standard')"

Looking at the solrconfig.xml file that comes with the Drupal module I see a
requestHandler named "standard":

  <requestHandler name="standard" class="solr.SearchHandler">
     <lst name="defaults">
       <str name="df">content</str>
       <str name="echoParams">explicit</str>
       <bool name="omitHeader">true</bool>
     </lst>
  </requestHandler>

I also see a handler named pinkPony with a "default" attribute set to
"true":

  <!-- trivia: the name pinkPony requestHandler was an agreement between the
Search API and the
    apachesolr maintainers. The decision was taken during the Drupalcon
Munich codesprint.
    -->
  <requestHandler name="pinkPony" class="solr.SearchHandler" default="true">
    <lst name="defaults">
      <str name="defType">edismax</str>
      <str name="df">content</str>
      <str name="echoParams">explicit</str>
      <bool name="omitHeader">true</bool>
      <float name="tie">0.01</float>
      <!-- Don't abort searches for the pinkPony request handler (set in
solrcore.properties) -->
      <int name="timeAllowed">${solr.pinkPony.timeAllowed:-1}</int>
      <str name="q.alt">*:*</str>

      <!-- By default, don't spell check -->
      <str name="spellcheck">false</str>
      <!-- Defaults for the spell checker when used -->
      <str name="spellcheck.onlyMorePopular">true</str>
      <str name="spellcheck.extendedResults">false</str>
      <!--  The number of suggestions to return -->
      <str name="spellcheck.count">1</str>
    </lst>
    <arr name="last-components">
      <str>spellcheck</str>
      <str>elevator</str>
    </arr>
  </requestHandler>

So it seems like there are both standard and default requestHandlers
specified. Why is the warning produced? What am I missing?

Thank you,
Scott

Reply via email to