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

synonym filter mixes up terms from different synonyms

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.1.0, 1.2
    • 1.2
    • update
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: