Details
-
Bug
-
Status: Closed
-
Resolution: Won't Fix
-
Master
-
None
Description
Steps to reproduce:
- Add a Web Content Article with lots of content - you can use the attached.
- Search for a word at the very beginning of that article using the embedded template search - "Lili"
- Assert that the preview shows the keyword highlighted in context (although the last "Lili" doesn't appear in the summary)
- Search for a word at the very end of that article using the embedded template search - "Chandra"
Expected Result: Journal Article indexer returns a summary from the section of the article where the keyword is mentioned. Try the same steps but with Message Boards to see the expected behavior.
Actual Result: Journal Article indexer's returns content from the very beginning as its summary. This means that any hits later on in the article aren't highlighted since they aren't part of the summary.
Reproduced on:
Tomcat 9.0.6 + MySQL 5.7.22
Portal Master Git SHA: af428f965af4d32a3132e05cb7b57606faec06cd