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

DirectSolrSpellChecker fails in distributed environment

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 4.0-ALPHA
    • 4.0-ALPHA
    • SolrCloud, spellchecker
    • 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.patch
          11 kB
          James Dyer
        2. SOLR-2848.patch
          12 kB
          James Dyer
        3. SOLR-2848-refactoring.patch
          38 kB
          James Dyer
        4. SOLR-2848-refactoring.patch
          32 kB
          James Dyer

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: