[
https://issues.apache.org/jira/browse/OAK-4401?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15299857#comment-15299857
]
Tommaso Teofili commented on OAK-4401:
--------------------------------------
of course we can, the problem here is that typically you have that:
1. a query is fired with something like _select [jcr:path],[rep:excerpt] from
[nt:base] where ..._
2. then client code does something like _row.getValue("rep:excerpt('text')");_
so that at point 1 you don't know yet on which properties excerpt will be
retrieved, potentially requiring to return excerpt for all properties / fields
contained in the result set.
We can find a solution but that's why that's not currently supported yet.
> Excerpt Highlighting for a property is not correct
> ---------------------------------------------------
>
> Key: OAK-4401
> URL: https://issues.apache.org/jira/browse/OAK-4401
> Project: Jackrabbit Oak
> Issue Type: Bug
> Components: query
> Affects Versions: 1.5.2
> Reporter: Ankit Agarwal
>
> if we have following text at property
> /jcr:content/text
> ===
> A state agency’s Conflict of Interest Code must reflect the current structure
> of the organization and properly identify officials andemployees
> =====
> and if rep:excerpt(/jcr:content/text) is been calling after search then
> ==============
> <strong>of</strong>ficials will be in output , which is incorrect.
> ==============
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)