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

synonym filter mixes up terms from different synonyms

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.1.0, 1.2
    • Fix Version/s: 1.2
    • Component/s: update
    • Labels:
      None

      Description

      SynonymFilter can mix up options from different synonyms, sometimes inserting the wrong word, sometimes using the wrong offset. Issue appears to be use of the matched arraylist in SynonymFilter

      To reproduce: add "best buy,bestbuy,bb" to the example's synonym list. Then view verbose analysis of the query analyzer output for "Best buy - Acer Aspire AS5610-2273 - $599. Windows vista, 1 GB RAM"

      "gigabytes" becomes a synonym of "Best buy", and the offsets of the remainder of the "GB" synonyms are incorrect.

      Assigning to Yonik as this code is too hairy for me to fix without further study.

        Attachments

          Activity

            People

            • Assignee:
              yseeley@gmail.com Yonik Seeley
              Reporter:
              klaasm Mike Klaas
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: