Class SolrDocXmlExport

java.lang.Object
io.goobi.viewer.model.export.SolrDocXmlExport

public final class SolrDocXmlExport extends Object
Serialises a SolrDocumentList into Solr-style XML that can be consumed directly or fed into an XSLT transformation pipeline.

The output follows the well-known Solr response XML schema:


 <result name="response" numFound="N" start="0">
   <doc>
     <str name="field">value</str>
     <arr name="multiField"><str>v1</str><str>v2</str></arr>
   </doc>
 </result>
 
  • Method Details