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

fix test bug in DistributedSpellCheckComponentTest

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 3.5, 4.0-ALPHA
    • 3.6, 4.0-ALPHA
    • multicore, spellchecker
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: