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

Vikas Saurabh edited comment on OAK-7070 at 12/19/17 11:42 AM:
---------------------------------------------------------------

Fixed in trunk at [r1818645|https://svn.apache.org/r1818645], 1.6 at 
[r1818652|https://svn.apache.org/r1818652] and on 1.4 at 
[r1818657|https://svn.apache.org/r1818657].


was (Author: catholicon):
Fixed in trunk at [r1818645|https://svn.apache.org/r1818645]. Backports to 1.6 
and 1.4 in a bit.

> rep:excerpt selector broken as regression of OAK-6750
> -----------------------------------------------------
>
>                 Key: OAK-7070
>                 URL: https://issues.apache.org/jira/browse/OAK-7070
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: lucene
>    Affects Versions: 1.6.7, 1.8
>            Reporter: Dirk Rudolph
>            Assignee: Vikas Saurabh
>              Labels: excerpt
>             Fix For: 1.7.13, 1.4.19, 1.6.8, 1.8
>
>
> The change made here:
> https://github.com/apache/jackrabbit-oak/commit/00c94b71293abcae6d76bb162c3f55c7d09b702e#diff-d4bdf443c61f24b634f33aab607e2114
> breaks the logic in line 676:
> {{else if (oakPropertyName.equals(QueryConstants.REP_EXCERPT + "("))}}
> This statement doesn't make much sense considering a query like {{select 
> \[rep:excerpt] from \[test:Page] as page where contains(\*, 'term\*')}} or 
> even {{select \[rep:excerpt(text)] from \[test:Page] as page where 
> contains(page.\[text], 'term\*')}}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to