Why not do an XSLT transformation on it before it hits Solr.

Or during if it really has to be in-Solr for some reason
https://lucene.apache.org/solr/guide/8_6/uploading-data-with-index-handlers.html#using-xslt-to-transform-xml-index-updates

But you have more options outside as you could use XQuery instead.

As long as final XML is in Solr format, you are good to go.

Regards,
    Alex

On Thu., Oct. 15, 2020, 4:13 p.m. Kris Gurusamy, <
krishnan.gurus...@xpanse.com> wrote:

> I've just downloaded solr 8.6.3 and trying to create DIH for loading
> structured XML. I found out that DIH will be deprecated soon with version
> 9.0. What is the equivalent of DIH in new solr version? How do I import
> structured XML data which is very custom and index in Solr new version? Any
> help is appreciated.
>
> Regards
>
> Kris Gurusamy
> Director, Engineering
> kgurus...@xpanse.com
> www.xpanse.com
>
> On 10/15/20, 1:08 PM, "Anshum Gupta (Jira)" <j...@apache.org> wrote:
>
>
>          [
> https://issues.apache.org/jira/browse/SOLR-14938?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
> ]
>
>     Anshum Gupta resolved SOLR-14938.
>     ---------------------------------
>         Resolution: Invalid
>
>     [~krisgurusamy] - Please ask questions regarding usage on the Solr
> user mailing list.
>
>     JIRA is meant for issue tracking purposes.
>
>     > Solr 8.6.3
>     > ----------
>     >
>     >                 Key: SOLR-14938
>     >                 URL:
> https://issues.apache.org/jira/browse/SOLR-14938
>     >             Project: Solr
>     >          Issue Type: Bug
>     >      Security Level: Public(Default Security Level. Issues are
> Public)
>     >          Components: contrib - DataImportHandler
>     >            Reporter: Krishnan
>     >            Priority: Major
>     >
>     > I've just downloaded solr 8.6.3 and trying to create DIH for loading
> structured XML. I found out that DIH will be deprecated soon with version
> 9.0. What is the equivalent of DIH in new solr version? How do I import
> structured XML data which is very custom and index in Solr new version? Any
> help is appreciated.
>
>
>
>     --
>     This message was sent by Atlassian Jira
>     (v8.3.4#803005)
>
>

Reply via email to