Hi Darren, This is the expected behavior. Have you tried setting the hl.requireFieldMatch parameter to true? See: http://wiki.apache.org/solr/HighlightingParameters#hl.requireFieldMatch
*Juan* On Mon, Jan 2, 2012 at 10:54 AM, Darren Govoni <dar...@ontrenet.com> wrote: > Hi, > Can someone tell me if this is correct behavior from Solr. > > I search on a dynamic field: > > field_t:[* TO *] > > I set highlight fields to "field_t,text_t" but I am not searching > specifically inside text_t field. > > The highlights for text_t come back with EVERY WORD. Maybe because of the > [* TO *], but > the query semantics indicate not searching on text_t even though > highlighting is enabled. > > Is this correct behavior? it produces unwanted highlight results. > > I would expect Solr to know what fields are participating in the query and > only highlight > those that are involved in the result set. > > Thanks, > Darren >