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

Dirk Rudolph updated OAK-6643:
------------------------------
    Affects Version/s: 1.6.1

> 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
>    Affects Versions: 1.6.1
>            Reporter: Dirk Rudolph
>            Priority: Minor
>
> 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 & 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)

Reply via email to