lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "" <>
Subject solr suggester not working with shards
Date Wed, 08 Oct 2014 06:47:55 GMT
I try to use the suggest component (solr 4.6) with multiple cores. 
I added a search component and a request handler in my solrconfig. 
That works fine for 1 core but querying my solr instance with the shards 
parameter does not work. 

<searchComponent class="solr.SpellCheckComponent" name="suggest">
    <lst name="spellchecker">
      <str name="name">suggestDictionary</str>
      <str name="classname">org.apache.solr.spelling.suggest.Suggester</str>
      <str name="field">suggest</str>
      <float name="threshold">0.0005</float>
      <str name="buildOnCommit">true</str>	  
  <requestHandler name="/suggest"
    <lst name="defaults">
      <str name="echoParams">none</str>
      <str name="wt">xml</str>
      <str name="indent">false</str>	  
      <str name="spellcheck">true</str>
      <str name="spellcheck.dictionary">suggestDictionary</str>
      <str name="spellcheck.onlyMorePopular">true</str>
      <str name="spellcheck.count">5</str>
      <str name="spellcheck.collate">false</str>
      <str name="qt">/suggest</str>
      <str name="shards.qt">/suggest</str>
      <bool name="distrib">false</bool>
    <arr name="components">
	  <shardHandlerFactory class="HttpShardHandlerFactory">
      <int name="socketTimeOut">1000</int>
      <int name="connTimeOut">5000</int>

View this message in context:
Sent from the Solr - User mailing list archive at

View raw message