Details
-
Bug
-
Status: Closed
-
Resolution: Fixed
-
7.0.X EE, Master
-
7.0.x
-
Committed
-
4
-
Regression Bug
Description
Description
After the fix for ---- was committed, a new issue was caused. Now, if you have a document with some Japanese text in it, and you search for Japanese text, only the last character of each word that you searched for will be highlighted, instead of the entire word being highlighted.LPS-72222
Steps to Reproduce
- Start up the portal and log in as the admin user.
- Add a Documents and Media portlet to a page.
- Go to Site Settings > Languages and set Japanese as the Default Language.
- Upload the attached Document1.txt (contains content あいうえお かきくけこ 日本語)
- Go to My Account > Account Settings and set Language to Japanese: 日本語 (日本)
- Search in the search portlet for あいうえお 日本語.
Expected result: "あい" and "日本語" would be highlighted.
Actual result: Only the last character of each of those text strings is highlighted ("お" and "語").
Reproduced in master (bf34e6b6517e88165df19a829058e4d5a18f67a8)
Reproduced in ee-7.0.x (23246d28294906ca474224a1bcfe2a33a8313cec)
Attachments
Issue Links
- causes
-
LPS-74158 Web Content Search results shows title with tags
- Closed
-
LPS-82412 Web Content search preview should show highlight returned by the search engine
- Closed
- depends on
-
LPS-72884 Japanese text in the DM content field is being sent to the English analyzer in Elasticsearch
- Closed
- is a dependency of
-
LPS-74642 Search does not provide accurate results and highlights for Japanese content neither on Elasticsearch nor on Solr - DM
- Closed
- is caused by
-
LPS-72222 When searching, text is not highlighted if you search for multiple words that appeared consecutively in the same order in the document
- Closed