lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "O. Olson" <>
Subject Re: Trying to get AnalyzingInfixSuggester to work in Solr?
Date Wed, 06 May 2015 17:47:34 GMT
Thank you Rajesh. I'm not familiar with the queryConverter. How do you wire
it up to the rest of the setup? Right now, I just put it between the
SpellCheckComponent and the RequestHandler i.e. my config is as: 

    <searchComponent class="solr.SpellCheckComponent" name="suggest">
    <lst name="spellchecker">
      <str name="name">suggest</str>
      <str name="classname">org.apache.solr.spelling.suggest.Suggester</str>
      <str name="field">text</str>  
      <float name="threshold">0.005</float>
      <str name="buildOnCommit">true</str>
	  <str name="suggestAnalyzerFieldType">text_general</str>
	  <bool name="exactMatchFirst">true</bool>
  <queryConverter name="queryConverter"
  <requestHandler class="org.apache.solr.handler.component.SearchHandler"
    <lst name="defaults">
      <str name="spellcheck">true</str>
      <str name="spellcheck.dictionary">suggest</str>
      <str name="spellcheck.onlyMorePopular">true</str>
      <str name="spellcheck.count">5</str>
      <str name="spellcheck.collate">true</str>
    <arr name="components">

	Is this correct? I do not see any difference in my results i.e. the
suggestions are the same as before.
O. O.

Rajesh Hazari wrote
> make sure you have this query converter defined in your config
> <queryConverter name="queryConverter"
> class="org.apache.solr.spelling.SuggestQueryConverter"/>
> *Thanks,*
> *Rajesh**.*

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

View raw message