[
https://issues.apache.org/jira/browse/SOLR-3059?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jan Høydahl updated SOLR-3059:
------------------------------
Attachment: SOLR-3059.patch
Attaching simple stylesheet "updateXml.xsl" which will transform a search
result to Solr's Update Xml syntax. One use case is to dump a Solr1.3 index
(which does not have CSV response writer) into a format which can be indexed
into another Solr (provided that all fields are stored):
{noformat}
http://localhost:8983/solr/select?q=*:*&wt=xslt&tr=updateXml.xsl&rows=1000
{noformat}
It can of cours also be used in XsltUpdateRequestHandler to transform when
updating:
{noformat}
curl "http://localhost:8983/solr/update/xslt?commit=true&tr=updateXml.xsl" -H
"Content-Type: text/xml; charset=utf-8" --data-binary @queryresult.xml
{noformat}
> Provide example for XSLTUpdateRequest
> -------------------------------------
>
> Key: SOLR-3059
> URL: https://issues.apache.org/jira/browse/SOLR-3059
> Project: Solr
> Issue Type: Improvement
> Components: update
> Reporter: Jan Høydahl
> Assignee: Jan Høydahl
> Fix For: 3.6, 4.0
>
> Attachments: SOLR-3059.patch
>
>
> The XSLT update handler is poorly documented, and
> http://wiki.apache.org/solr/XsltUpdateRequestHandler should be improved
> Also, there should be an example stylesheet in the conf/xslt folder
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
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]