Apmats commented on a change in pull request #442: Fixing an edge case bug when
overriding a default PostingsSolrHighligher
URL: https://github.com/apache/lucene-solr/pull/442#discussion_r351310944
##########
File path:
solr/core/src/java/org/apache/solr/handler/component/HighlightComponent.java
##########
@@ -189,7 +189,7 @@ protected SolrHighlighter getHighlighter(SolrParams
params) {
switch (method) {
case UNIFIED:
- if (solrConfigHighlighter instanceof UnifiedSolrHighlighter) {
+ if (solrConfigHighlighter.getClass() == UnifiedSolrHighlighter.class) {
Review comment:
Ah, yes, you are indeed correct.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]