Hi out of there,

I just walked through the mailing list archive, but I did not find an appropriate answer for phrase highlighting.

I do not have any highlighting section (and no dismax handler definition) in solrconfig.xml. This way (AFAIK :-)), the standard lucene query syntax should be supported in it's full functionality. But, in this case double quoting the search expressions does not have any effect on highlighting, i.e.

Assume we have the following text (of field type text)
It is hard work to do the hard complex work

A query for
"hard work"
(with the double quotes) results the highlighted section
It is <em>hard</em> <em>work</em> to do the <em>hard</em> complex <em>work</em>

Although I would guess that the correct answer should be
 It is <em>hard work</em> to do the hard complex work

Does anyone of the SOLR experts have a good answer for me? (I guess that I still did not understand the functional relationship between highlighting, query specification and index specification...)

Thanks for your help

 marc

Reply via email to