Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Duplicate
-
1.0.18, 1.0.23
-
None
-
None
Description
We have the following text on a jcr:content node :
A state agency’s Conflict of Interest Code must reflect the current structure of the organization and properly identify officials andemployees
On executing the following query :
//*[jcr:contains(., 'conflict of interest')]/rep:excerpt(.)
we get a row whose excerpt value is having wrong placement of <strong></strong> tags.
Observed result:
<div><span><p>A state agency’s Conflict <strong>of</strong> Interest Code must reflect the current structure <strong>of</strong> the organization and properly identify <strong>of</strong>ficials andemployees</p></span></div>
I don't think it is expected to have
in the excerpt.<strong>of</strong>ficials
We get the excerpt value in the following manner :
org.apache.jackrabbit.oak.jcr.query.RowImpl#getValue("rep:excerpt(" + nodePath + ")")
Attachments
Issue Links
- duplicates
-
OAK-3580 Make it possible to use indexes for providing excerpts
- Closed