Description
While using rep:excerpt functionality we mentioned that the format of the PostingsHighlighter differs to the one of Highlighter. See the example below:
PostingsHighlighter
[In Central & Eastern Europe and Asia Pacific Allianz is one of the leading international <b>insurance</b> companies. ]
Highlighter
"Life Risk <strong>Insurance</strong>"
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.