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

Japanese Autocomplete and Highlighter broken

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 1.4.1
    • None
    • highlighter
    • None

    Description

      Autocomplete is implemented with Highlighter functionality. This works fine for most of the languages but breaks for Japanese.

      multivalued,termVector,termPositions and termOffset are set to true.

      Here is an example:

      Query: product classic.

      Result:

      Actual :

      この商品の互換性の機種にproduct 1 やclassic Touch2 が記載が有りません。 USB接続ケーブルをproduct 1 やclassic Touch2に付属の物を使えば利用出来ると思いますが 間違っていますか?

      With Highlighter (<em> </em> tags being used):

      この商品の互換性の機種<em>にproduct</em> 1 <em>やclassic</em> Touch2 が記載が有りません。 USB接続ケーブルをproduct 1 やclassic Touch2に付属の物を使えば利用出来ると思いますが 間違っていますか?

      Though query terms "product classic" is repeated twice, highlighting is happening only on the first instance. As shown above.

      Solr returns only first instance offset and second instance is ignored.

      Also it's observed, highlighter repeats first letter of the token if there is numeric.
      For eg.Query : product and We have product1, highlighter returns as p<em>product</em>1.

      Attachments

        Activity

          People

            Unassigned Unassigned
            shruthi10 Shruthi Khatawkar
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: