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

Suggester should always rebuild Lookup data if Lookup.load fails

    Details

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

      Description

      See also the comments here. Currently available Lookup implementations don't implement load/save - these calls always return false.

      This means that Lookup dictionary is lost on searcher reload (or core reload) and needs to be rebuilt. However, this breaks the semantics of spellcheck.build=true, because with this patch the dictionary will always be recreated, even if this parameter is false... Still, this may be less surprising to users than a vanishing autosuggest functionality after commit.

        Attachments

        1. SOLR-2173.patch
          2 kB
          Andrzej Bialecki

          Activity

            People

            • Assignee:
              ab Andrzej Bialecki
              Reporter:
              ab Andrzej Bialecki
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: