RE: Highlighter not working on some documents

2017-06-12 Thread Phil Scadden
: Highlighter not working on some documents Probably the most common reason is the default hl.maxAnalyzedChars -- thus your highlightable text might not be in the first 51200 chars of text. The first Solr release with the unified highlighter had an even lower default of 10k chars. On Fri, Jun 9

Re: Highlighter not working on some documents

2017-06-11 Thread David Smiley
@gmail.com] > Sent: Saturday, 10 June 2017 6:22 a.m. > To: solr-user > Subject: Re: Highlighter not working on some documents > > Need lots more information. I.e. schema definitions, query you use, > handler configuration and the like. Note that highlighted fields must have >

RE: Highlighter not working on some documents

2017-06-09 Thread Phil Scadden
: Saturday, 10 June 2017 6:22 a.m. To: solr-user Subject: Re: Highlighter not working on some documents Need lots more information. I.e. schema definitions, query you use, handler configuration and the like. Note that highlighted fields must have stored="true" set and likely the _text_ fie

RE: Highlighter not working on some documents

2017-06-09 Thread Phil Scadden
documents that work are pulling body text fragments, not things stored in some other field. -Original Message- From: Erick Erickson [mailto:erickerick...@gmail.com] Sent: Saturday, 10 June 2017 6:22 a.m. To: solr-user Subject: Re: Highlighter not working on some documents Need lots more i

Re: Highlighter not working on some documents

2017-06-09 Thread Erick Erickson
Need lots more information. I.e. schema definitions, query you use, handler configuration and the like. Note that highlighted fields must have stored="true" set and likely the _text_ field doesn't. At least in the default schemas stored is set to false for the catch-all field. And you don't want to

Highlighter not working on some documents

2017-06-08 Thread Phil Scadden
Do a search with: fl=id,title,datasource&hl=true&hl.method=unified&limit=50&page=1&q=pressure+AND+testing&rows=50&start=0&wt=json and I get back a good list of documents. However, some documents are returning empty fields in the highlighter. Eg, in the highlight array have: "W:\\Reports\\OCR\\427