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

fix test bug in DistributedSpellCheckComponentTest

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 3.5, 4.0-ALPHA
    • Fix Version/s: 3.6, 4.0-ALPHA
    • Component/s: multicore, spellchecker
    • Labels:
      None

      Description

      In Trunk, the IndexBasedSpellChecker dictionary is not being built both for the "control" and "shard" indexes. The test then compares nothing to nothing and passes, because both the shard-index response and the control-index responses are the same. This issue fixes the problem with the dictionaries not being built and also adds an additional check for data in the control-index responses so that this sort of regression may be detected in the future.

        Attachments

        1. SOLR-2847.patch
          4 kB
          James Dyer
        2. SOLR-2847.patch
          3 kB
          James Dyer

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: