dbmdz/solr-ocrhighlighting

Find way to enable use of implicit `hl.fl` Parameter

jbaiter opened this issue · 2 comments

Currently we have a limitation in how the highlight fields must be configured during querying:

One unfortunate side effect of the way the plugin works is that you need to pass non-OCR fields to be highlighted explicitly via the hl.fl parameter. By default, Solr falls back on highlighting all stored fields if the parameter is not present, which no longer works if this plugin is used.
https://dbmdz.github.io/solr-ocrhighlighting/query/

This seems to be an issue for at least one user:
kitodo/kitodo-presentation#502 (comment)

It would be great if we could find a way to no longer make this necessary.

I think I found a way, but I'm still struggling to get it to work in the distributed query case. I'm pretty confident that I can get that to work as well, though, might just take a while :-)

This is now part of the latest stable release 🥳