Hi guys, when searching for a phrase I get results and would like to show a highlighting. The highlightings beeing shown begin somewhere in the sentence, beginning with a coma or something else. I'd like to get highlightings beginning with a stence. How to manage this. I've tried so many things found in internet, but nothing helped. Example:
query.setHighlight(true).setParam("hl.useFastVectorHighlighte", "true"); query.setHighlight(true).setParam("hl.fragsize", "500"); query.setHighlight(true).setParam("hl.fragmenter", "regex"); query.setHighlight(true).setParam("hl.regex.slop", "0.8"); query.setHighlight(true).setParam("hl.regex.pattern", "[\\w][^.!?]{400,600}[.!?]"); //\w[^\.!\?]{400,600}[\.!\?] query.setHighlight(true).setParam("hl.bs.type", "SENTENCE"); etc etc.. Whats wrong about this? Thx -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-cuts-highlighted-sentences-tp4104894.html Sent from the Solr - User mailing list archive at Nabble.com.