lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Hostetter <hossman_luc...@fucit.org>
Subject Re: "no default request handler is registered"
Date Thu, 27 Aug 2015 19:49:18 GMT

Thats... strange.

Looking at hte code it appears to be a totally bogus and missleading 
warning -- but it also shouldn't affect anything.

You can feel free to ignore it for now...

https://issues.apache.org/jira/browse/SOLR-7984



: Date: Thu, 27 Aug 2015 15:10:18 -0400
: From: Scott Hollenbeck <sah@musclecarresearch.com.invalid>
: Reply-To: solr-user@lucene.apache.org
: To: solr-user@lucene.apache.org
: Subject: "no default request handler is registered"
: 
: 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
: 
: 

-Hoss
http://www.lucidworks.com/

Mime
View raw message