Re: Highlighting and delineating Passages (fragmenting)

2017-05-27 Thread Evert Wagenaar
I always assumed this was the default behaviour of the Lucene TermHighlighter but I could be mistaken with an older version. I found out that there are major differences between Lucene and Solr though, with which I have similar problems. Best regards, Evert Wagenaar http://www.evertwagenaar.com/

Re: Highlighting and delineating Passages (fragmenting)

2017-05-27 Thread Dawid Weiss
Thanks for your explanation, David. I actually found working with all Lucene highlighters pretty difficult. I have a few requirements which seemed deceptively simple: 1) highlight query hit regions (phrase, fuzzy, terms); 2) try to organise the resulting snippets to visually "center" the hit regi