You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Munendra S N (JIRA)" <ji...@apache.org> on 2019/08/03 07:48:00 UTC

[jira] [Created] (SOLR-13679) Different default Style for [explain] doctransformer registered in solrconfig.xml

Munendra S N created SOLR-13679:
-----------------------------------

             Summary: Different default Style for [explain] doctransformer registered in solrconfig.xml 
                 Key: SOLR-13679
                 URL: https://issues.apache.org/jira/browse/SOLR-13679
             Project: Solr
          Issue Type: Bug
      Security Level: Public (Default Security Level. Issues are Public)
            Reporter: Munendra S N


Adding explain docTransformer via solrconfig.xml
{code:java}
<transformer name="explain1" class="org.apache.solr.response.transform.ExplainAugmenterFactory" />
{code}
Here, no style is specified. So, default style is used which is {{nl}}.

ExplainDocTransformer is part of defaultFactories. So, user can use this without adding it in solrconfig.xml but when used this way, default style used is {{text}}

Default style should be same in both cases. This behavior is same to registering ResponseWriters in solrconfig, if content-type is not overridden then, default content-type will used





--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org