jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Davide Giannella (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (OAK-6597) rep:excerpt not working for content indexed by aggregation in lucene
Date Tue, 04 Jun 2019 15:35:09 GMT

     [ https://issues.apache.org/jira/browse/OAK-6597?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Davide Giannella updated OAK-6597:
----------------------------------
    Fix Version/s: 1.16.0

> rep:excerpt not working for content indexed by aggregation in lucene
> --------------------------------------------------------------------
>
>                 Key: OAK-6597
>                 URL: https://issues.apache.org/jira/browse/OAK-6597
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: lucene
>    Affects Versions: 1.6.1, 1.7.6, 1.8.0
>            Reporter: Dirk Rudolph
>            Assignee: Chetan Mehrotra
>            Priority: Major
>              Labels: excerpt
>             Fix For: 1.14.0, 1.16.0
>
>         Attachments: excerpt-with-aggregation-test.patch
>
>
> I mentioned that properties that got indexed due to an aggregation are not considered
for excerpts (highlighting) as they are not indexed as stored fields.
> See the attached patch that implements a test for excerpts in {{LuceneIndexAggregationTest2}}.
> It creates the following structure:
> {code}
> /content/foo [test:Page]
>  + bar (String)
>  - jcr:content [test:PageContent]
>   + bar (String)
> {code}
> where both strings (the _bar_ property at _foo_ and the _bar_ property at _jcr:content_)
contain different text. 
> Afterwards it queries for 2 terms ("tinc*" and "aliq*") that either exist in _/content/foo/bar_
or _/content/foo/jcr:content/bar_ but not in both. For the former one the excerpt is properly
provided for the later one it isn't.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message