Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-13679

Different default Style for [explain] doctransformer registered in solrconfig.xml

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 8.3
    • Component/s: None
    • Labels:
      None

      Description

      Adding explain docTransformer via solrconfig.xml

      <transformer name="explain1" class="org.apache.solr.response.transform.ExplainAugmenterFactory" />
      

      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

        Attachments

        1. SOLR-13679.patch
          6 kB
          Munendra S N
        2. SOLR-13679.patch
          6 kB
          Munendra S N

          Activity

            People

            • Assignee:
              munendrasn Munendra S N
              Reporter:
              munendrasn Munendra S N
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: