Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-6366

When I use minimum match and maxCollationTries parameters together in edismax, Solr gets stuck

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 4.9
    • Fix Version/s: None
    • Component/s: query parsers, spellchecker
    • Labels:
      None
    • Environment:

      Windows-7 64-bit

      Description

      In the following configuration when I use mm and maxCollationTries parameters together Solr gets stuck with no exception. Server starts, I can see web admin gui but I can't navigate btw tabs. It just says "loading".

      I tried different values for both parameters and found that values for mm less than %40 still works.

      <requestHandler name="/select" class="solr.SearchHandler">
      <!-- default values for query parameters can be specified, these
      will be overridden by parameters in the request
      -->
      <lst name="defaults">
      <str name="echoParams">explicit</str>
      <str name="defType">edismax</str>
      <int name="timeAllowed">1000</int>
      <str name="qf">title^3 title_s^2 content</str>
      <str name="pf">title content</str>
      <str name="fl">id,title,content,score</str>
      <float name="tie">0.1</float>
      <str name="lowercaseOperators">true</str>
      <str name="stopwords">true</str>
      <!-- <str name="mm">75%</str>-->
      <int name="rows">10</int>

      <str name="spellcheck">on</str>
      <str name="spellcheck.dictionary">default</str>
      <str name="spellcheck.dictionary">wordbreak</str>
      <str name="spellcheck.onlyMorePopular">true</str>
      <str name="spellcheck.count">5</str>
      <str name="spellcheck.maxResultsForSuggest">5</str>
      <str name="spellcheck.extendedResults">false</str>
      <str name="spellcheck.alternativeTermCount">2</str>
      <str name="spellcheck.collate">true</str>
      <str name="spellcheck.collateExtendedResults">true</str>
      <str name="spellcheck.maxCollationTries">5</str>
      <!-- <str name="spellcheck.collateParam.mm">100%</str>-->

      <str name="spellcheck.maxCollations">3</str>
      </lst>

      <arr name="last-components">
      <str>spellcheck</str>
      </arr>
      </requestHandler>

      Any idea? Thanks

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                hrzafer Harun Re┼čit Zafer
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated: