-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
Medium
-
Component/s: Search - Automation and Indexing
-
Severity 3 - Minor
Issue Summary
JSM GET article API is not providing excerpt and title highlight in the response body when performing an exact phrase search containing single or multiple words.
Steps to Reproduce
Scenario 1:
- Create a Service Desk (using a template, for example) on JSM.
- Create a Knowledge Base and connect to a Confluence Space or create a new space.
- Create a test page with words that you want to perform a search on.
- Using the API endpoint, send a request and use "highlight=true".
- The response should highlight the title and excerpt with "@@@hl@@@term@@@endhl@@@".
- However, this won't happen, example below searching for the word "change", note that neither the title nor the excerpt has the highlight syntax:

Expected Results
JSM search API should highlight the keyword in the title or body, irrespective of the type of search.
Obs: The search itself works.
Actual Results
JSM search API does not highlight when performing an exact phrase search containing single or multiple words.
Similar to the following bug on Confluence Cloud: https://jira.atlassian.com/browse/CONFCLOUD-71411
However, on Confluence Cloud, single-word searches, the highlight work as expected
Workaround
Currently there is no known workaround for this behavior. A workaround will be added here when available
- mentioned in
-
Page Loading...