Following is the configuration related to Spell check in the
Solr-config.xml file.

<searchComponent name="spellcheck" class="solr.SpellCheckComponent">
      <str name="queryAnalyzerFieldType">textSpell</str>
      <lst name="spellchecker">
          <str name="name">title_txt_spellcheck_ja</str>
          <str name="field">title_txt_spellcheck_ja</str>
          <str name="buildOnOptimize">true</str>
          <str name="buildOnCommit">true</str>
          <str name="spellcheckIndexDir">./spellchecker_en</str>
      </lst>
      <lst name="spellchecker">
          <str name="name">title_txt_spellcheck_en</str>
          <str name="field">title_txt_spellcheck_en</str>
          <str name="buildOnOptimize">true</str>
          <str name="buildOnCommit">true</str>
          <str name="spellcheckIndexDir">./spellchecker_de</str>
      </lst>
      ............
      ............
</searchComponent>

  <requestHandler name="/spell" class="solr.SearchHandler" startup="lazy">
    <lst name="defaults">
      <!-- Solr will use suggestions from both the 'default' spellchecker
           and from the 'wordbreak' spellchecker and combine them.
           collations (re-written queries) can include a combination of
           corrections from both spellcheckers -->
      <str name="spellcheck.dictionary">default</str>
      <str name="spellcheck">on</str>
      <str name="spellcheck.extendedResults">true</str>
      <str name="spellcheck.count">10</str>
      <str name="spellcheck.alternativeTermCount">5</str>
      <str name="spellcheck.maxResultsForSuggest">5</str>
      <str name="spellcheck.collate">true</str>
      <str name="spellcheck.collateExtendedResults">true</str>
      <str name="spellcheck.maxCollationTries">10</str>
      <str name="spellcheck.maxCollations">5</str>
    </lst>
    <arr name="last-components">
      <str>spellcheck</str>
    </arr>
  </requestHandler>

Regards,
Anupam

On Mon, Feb 5, 2018 at 5:45 PM, Alessandro Benedetti <a.benede...@sease.io>
wrote:

> Hi, how is your spellcheck dictionary :
> "spellcheck.dictionary=title_txt_spellcheck_ja" defined in the
> solrconfig.xml?
>
> Regards
>
>
>
> -----
> ---------------
> Alessandro Benedetti
> Search Consultant, R&D Software Engineer, Director
> Sease Ltd. - www.sease.io
> --
> Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html
>



-- 
Thanks & Regards
Anupam Bhattacharya

Reply via email to