Re: Highlighting large text fields

2021-01-12 Thread Shaun Campbell
Hi David Just reindexed everything and it appears to be performing well and giving me highlights for the matched text. Thanks for your help. Shaun On Tue, 12 Jan 2021, 21:00 David Smiley, wrote: > The last update to highlighting that I think is pertinent to > whether highlights match or not

Re: Highlighting large text fields

2021-01-12 Thread David Smiley
The last update to highlighting that I think is pertinent to whether highlights match or not is v7.6 which added that hl.weightMatches option. So I recommend upgrading to at least that if you want to experiment further. But... uh.weightMatches highlights more accurately and as such is more

Re: Highlighting large text fields

2021-01-12 Thread Shaun Campbell
That's great David. So hl.maxAnalyzedChars isn't that critical. I'll whack it right up and see what happens. I'm running 7.4 from a few years ago. Should I upgrade? For your info this is what I'm doing with Solr https://dev.fundingawards.nihr.ac.uk/search. Thanks Shaun On Tue, 12 Jan 2021 at

Re: Highlighting large text fields

2021-01-12 Thread David Smiley
On Tue, Jan 12, 2021 at 1:08 PM Shaun Campbell wrote: > Hi David > > Getting closer now. > > First of all, a bit of a mistake on my part. I have two cores set up and I > was changing the solrconfig.xml on the wrong core doh!! That's why > highlighting wasn't being turned off. > > I think I've

Re: Highlighting large text fields

2021-01-12 Thread Shaun Campbell
Hi David Getting closer now. First of all, a bit of a mistake on my part. I have two cores set up and I was changing the solrconfig.xml on the wrong core doh!! That's why highlighting wasn't being turned off. I think I've got the unified highlighter working. storeOffsetsWithPositions was

Re: Highlighting large text fields

2021-01-12 Thread David Smiley
On Tue, Jan 12, 2021 at 9:39 AM Shaun Campbell wrote: > Hi David > > First of all I wanted to say I'm working off your book!! Third edition, > and I think it's a bit out of date now. I was just going to try following > the section on the Postings highlighter, but I see that's been absorbed >

Re: Highlighting large text fields

2021-01-12 Thread Shaun Campbell
Hi David First of all I wanted to say I'm working off your book!! Third edition, and I think it's a bit out of date now. I was just going to try following the section on the Postings highlighter, but I see that's been absorbed into the Unified highlighter. I find your book easier to follow than

Re: Highlighting large text fields

2021-01-11 Thread David Smiley
Hello! I worked on the UnifiedHighlighter a lot and want to help you! On Mon, Jan 11, 2021 at 9:58 AM Shaun Campbell wrote: > I've been using highlighting for a while, using the original highlighter, > and just come across a problem with fields that contain a large amount of > text, approx