[ 
https://issues.apache.org/jira/browse/OAK-4401?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15299863#comment-15299863
 ] 

Vikas Saurabh commented on OAK-4401:
------------------------------------

I don't know excerpt syntax on xpath or sql2 - but I wonder if it's a valid 
work-around to have a query to look like
{noformat}
select [jcr:path], [rep:excerpt(text)] from [nt:base] where...
{noformat}

If that's already supported, then I think we should close this specifying the 
"better" way to use it. WDYT?

[~anagarwa], would this type of work-around be ok for you?

> 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)

Reply via email to