Ah, that was a misunderstanding. As I wrote (maybe not clearly enough), on Main.SolrSearch
- the page I referred to when I wrote “standard Solr Search” above - the styling is there. But I’ve been using the API to set up my own search page writing my own custom queries and displaying the results also on this page by calling #displaySearchResult($searchResult)
. Then, the styling is not there by default. Now I understand why: The styling of search-text-highlight
in Main.SolrSearch
is not global but only on demand (which makes sense as it’s something more specific) so I have to add the CSS myself or invoke the CSS from Main.SolrSearch
.