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

DirectSolrSpellChecker fails in distributed environment

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 4.0-ALPHA
    • Fix Version/s: 4.0-ALPHA
    • Component/s: SolrCloud, spellchecker
    • Labels:
      None

      Description

      While working on SOLR-2585, it was brought to my attention that DirectSolrSpellChecker has no test coverage involving a distributed environment. Here I am adding a random element to DistributedSpellCheckComponentTest to alternate between the "IndexBased" and "Direct" spell checkers. Doing so revealed bugs in using DirectSolrSpellChecker in a distributed environment. The fixes here roughly mirror those made to the "IndexBased" spell checker with SOLR-2083.

        Attachments

        1. SOLR-2848-refactoring.patch
          38 kB
          James Dyer
        2. SOLR-2848-refactoring.patch
          32 kB
          James Dyer
        3. SOLR-2848.patch
          11 kB
          James Dyer
        4. SOLR-2848.patch
          12 kB
          James Dyer

          Issue Links

            Activity

              People

              • Assignee:
                rcmuir Robert Muir
                Reporter:
                jdyer James Dyer
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: