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

Support xpointer attribute in xinclude to help reuse/modularization of schema.xml/solrConfig.xml

    XMLWordPrintableJSON

Details

    Description

      The xinclude tag does have xpointer support as per http://www.w3.org/2001/XInclude which helps include specific tags from external xml's. Please support xpointer in solr as well. This will help in modularization and reusability.

      Eg:
      child.xml =
      <root>
      <field>1</field>
      <field>2</field>
      </root>

      schema.xml =
      <fields>
      <xi:include href="child.xml" xpointer=(//root) xmlns:xi="http://www.w3.org/2001/XInclude">
      </fields>

      References:
      1. "The Xerces parser, used by default in Solr, doesn't support the xpointer="xpointer()" scheme." from https://wiki.apache.org/solr/SolrConfigXml#XInclude

      2. http://lucene.472066.n3.nabble.com/XInclude-Multiple-Elements-td3167658.html

      Attachments

        Activity

          People

            Unassigned Unassigned
            anerlekar Apurv Nerlekar
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: