[ 
https://issues.apache.org/jira/browse/SOLR-5386?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14028344#comment-14028344
 ] 

Vince Toscano commented on SOLR-5386:
-------------------------------------

I can post the whole file, but this is all I added to cause the issue on a 
working system.

{panel:title=Default Settings}
      <!-- return suggested results -->
      <str name="spellcheck">false</str>
      <str name="spellcheck.dictionary">suggest</str>
      <str name="spellcheck.extendedResults">true</str>
      <str name="spellcheck.count">15</str>
      <str name="spellcheck.alternativeTermCount">15</str>
      <str name="spellcheck.maxResultsForSuggest">15</str>
      <str name="spellcheck.collate">true</str>
      <str name="spellcheck.collateExtendedResults">true</str>
      <str name="spellcheck.maxCollationTries">10</str>
      <str name="spellcheck.maxCollations">15</str>
{panel}

{panel:title=Add my component}
    <arr name="last-components">
      <str>suggest</str>
    </arr>
{panel}

{panel:title=Spellchecker}
  <searchComponent class="solr.SpellCheckComponent" name="suggest">
    <str name="queryAnalyzerFieldType">alphaOnlySort</str>
    <lst name="spellchecker">
      <str name="name">suggest</str>
      <str name="field">document_text</str>
      <str name="classname">solr.DirectSolrSpellChecker</str>
      <str 
name="lookupImpl">org.apache.solr.spelling.suggest.fst.AnalyzingLookupFactory</str>
      <str name="distanceMeasure">internal</str>
      <float name="accuracy">0.5</float>
      <int name="maxEdits">2</int>
      <int name="minPrefix">1</int>
      <int name="maxInspections">5</int>
      <int name="minQueryLength">0</int>
      <float name="maxQueryFrequency">0.01</float>
    </lst>
  </searchComponent>
{panel}

> Solr hangs on spellcheck.maxCollationTries
> ------------------------------------------
>
>                 Key: SOLR-5386
>                 URL: https://issues.apache.org/jira/browse/SOLR-5386
>             Project: Solr
>          Issue Type: Bug
>          Components: spellchecker
>    Affects Versions: 4.4, 4.5
>            Reporter: Jeroen Steggink
>              Labels: collate, maxCollationTries, spellcheck
>
> When spellcheck.maxCollationTries is set (>0) Solr hangs in combination with 
> that requestHandler set to default="true".
> When I make another requestHandler default, one without the 
> maxCollationTries, all requestHandlers work just fine.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to