lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Uwe Schindler (JIRA)" <>
Subject [jira] [Commented] (SOLR-2630) XsltUpdateRequestHandler
Date Fri, 01 Jul 2011 13:00:29 GMT


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:
>             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:


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message