On 22/10/17 18:50, Chris Tomlinson wrote:
Hello,
With the extraneous part of the original email having been split-off, I'm
interested to know if and how other users have provided for highlighting of
Lucene search matches when using jena-text.
If the literals are relatively short then perhaps highlighting where a match
was found by Lucene is not considered necessary; however, if the literals are
several hundreds of code-points then it becomes more useful to help with
ultimately displaying results to users. It seems like it might be feasible to
provide a 4th return parameter that could identify the start and end of each
match in the returned literal.
That's good especially if when not using it has no impact on performance.
Andy
Thanks,
Chris
On Oct 20, 2017, at 2:00 PM, Chris Tomlinson <[email protected]>
wrote:
Hi,
I’m interested in looking into whether and how it might be possible to
incorporate Lucene highlighting into jena-text. I don’t see any other work, but
perhaps others have dealt with the topic already. I was thinking of some sort
of a 4th return parameter in the PF.