Re: Highlighting tag problem

2015-12-07 Thread Scott Stults
I see. There appears to be a gap in what you can match on and what will get highlighted: id, title, content_type, last_modified, url, score id, title, content, author, tag Unless you override fl or hl.fl in url parameters you can get a hit in content_type, last_modified, url, or score and

Re: Highlighting tag problem

2015-12-07 Thread Zheng Lin Edwin Yeo
So the fields in the fl will affect the fields that will be highlighted? Isn't only those fields that are specified in hl.fl be highlighted? As I found some fields that are not specified in hl.fl also got highlighted, but since it is not specified in hl.fl, that field is not shown in the result

Re: Highlighting tag problem

2015-12-07 Thread Erick Erickson
bq: So the fields in the fl will affect the fields that will be highlighted? No. The pedantry was that one of the replies could be read as the fl specification affected what fields were _searched_. On Mon, Dec 7, 2015 at 2:43 PM, Zheng Lin Edwin Yeo wrote: > So the fields

Re: Highlighting tag problem

2015-12-07 Thread Erick Erickson
Pedantry here: bq: Unless you override fl or hl.fl in url parameters you can get a hit in content_type, last_modified, url, or score and those fields will not get highlighted. In the main correct, but the phrasing makes it seem like the fl parameter has something to do with the fields

Re: Highlighting tag problem

2015-12-03 Thread Zheng Lin Edwin Yeo
Hi Scott, No, what's describe in SOLR-8334 is the tag appearing at the result, but at the wrong position. For this problem, the situation is that when I do a highlight query, some of the results in the resultset does not contain the search word in title, content_type, last_modified and url, as

Highlighting tag problem

2015-12-03 Thread Zheng Lin Edwin Yeo
Hi, I'm using Solr 5.3.0. Would like to find out, during a search, sometimes there is a match in content, but it is not highlighted (the word is not in the stopword list)? Did I make any mistakes in my configuration? This is my highlighting request handler from solrconfig.xml.

Re: Highlighting tag problem

2015-12-03 Thread Scott Stults
Edwin, Is this related to what's described in SOLR-8334? k/r, Scott On Thu, Dec 3, 2015 at 5:07 AM, Zheng Lin Edwin Yeo wrote: > Hi, > > I'm using Solr 5.3.0. > Would like to find out, during a search, sometimes there is a match in > content, but it is not highlighted