[
https://issues.apache.org/jira/browse/SOLR-2630?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13058540#comment-13058540
]
Uwe Schindler commented on SOLR-2630:
-------------------------------------
XML is binary data, so you should not convert it to Strings. Ideally the
already transformed DOM tree or SAX stream would directly be passed to the
importer. I know, this is not easily possible, so the most correct way would be
to pass the binary byte[] dierectly and reparse.
I will try to investigate to directly pass the SAX events / XSL DOM tree
around, which is possible, as transformer API can also directly pipe to StAX,
used by the underlying XMLImporter.
> XsltUpdateRequestHandler
> ------------------------
>
> Key: SOLR-2630
> URL: https://issues.apache.org/jira/browse/SOLR-2630
> Project: Solr
> Issue Type: Improvement
> Components: update
> Affects Versions: 4.0
> Reporter: Upayavira
> Priority: Minor
> Fix For: 4.0
>
> Attachments: xslt-update-handler.patch
>
>
> An update request handler that can accept a tr param, allowing the indexing
> of any XML content that is passed to solr, so long as there is an XSLT
> stylesheet in solr/conf/xslt that can transform it to the <add><doc/></add>
> format.
> Could be used, for example, to allow Solr to ingest docbook directly, without
> any preprocessing.
>
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]