jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dirk Rudolph (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (OAK-6643) Return a common format of excerpts independent of the highlighter used
Date Mon, 11 Sep 2017 08:51:00 GMT

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

Dirk Rudolph updated OAK-6643:
------------------------------
    Component/s: lucene

> Return a common format of excerpts independent of the highlighter used
> ----------------------------------------------------------------------
>
>                 Key: OAK-6643
>                 URL: https://issues.apache.org/jira/browse/OAK-6643
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: lucene
>    Affects Versions: 1.6.1
>            Reporter: Dirk Rudolph
>            Priority: Minor
>              Labels: excerpt
>
> While using {{rep:excerpt}} functionality we mentioned that the format of the {{PostingsHighlighter}}
differs to the one of {{Highlighter}}. See the example below:
> {{PostingsHighlighter}} 
> {quote}
> [In Central &amp; Eastern Europe and Asia Pacific Allianz is one of the leading international
<b>insurance</b> companies. ]
> {quote}
> {{Highlighter}}
> {quote}
> &quot;Life Risk <strong>Insurance</strong>&quot;
> {quote}
> It would be great to have one single format, so that application doesn't have to handle
those differences. 
> Additionally the {{Arrays.toString(...)}} used to generated an excerpt string from the
{{PostingsHighlighter}} causes the excerpt text to be wrapped in "[...]", I guess thats not
intended.



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

Mime
View raw message