Hi, I got an index where I have two fields, body and caseInsensitiveBody. Body is indexed and stored while caseInsensitiveBody is just indexed.
The idea is that by not storing the caseInsensitiveBody I save some space and gain some performance. So I query against the caseInsensitiveBody and generate highlighting from the case sensitive one. The problem is that as a result, I am missing highlighting terms. For example, when I search for solr and get a match in caseInsensitiveBody for solr but that it is Solr in the original document, no highlighting is done. Is there a way around this? Currently I am using the following highlighting params: 'hl' => 'on', 'hl.fl' => 'header,body', 'hl.usePhraseHighlighter' => 'true', 'hl.highlightMultiTerm' => 'true', 'hl.fragsize' => 200, 'hl.regex.pattern' => '[-\w ,/\n\"\']{20,200}', Regards / Med vennlig hilsen Tarjei Huse