SV: DIH for different levels of XML

2018-10-07 Thread Martin Frank Hansen (MHQ)
dk Mobil +4525571418 -Oprindelig meddelelse- Fra: Alexandre Rafalovitch Sendt: 7. oktober 2018 20:18 Til: solr-user Emne: Re: DIH for different levels of XML If your ID field comes from one XML level and your record details from another, they are processed as two separate records. Have a look at atom

Re: DIH for different levels of XML

2018-10-07 Thread Alexandre Rafalovitch
If your ID field comes from one XML level and your record details from another, they are processed as two separate records. Have a look at atom example that ships with DIH example set. Specifically, at commonField parameter, it may be useful for you: https://lucene.apache.org/solr/guide/7_4/uploadi

DIH for different levels of XML

2018-10-07 Thread Martin Frank Hansen (MHQ)
Hi, I am having some difficulties adding data from different levels of a xml document. The xml can be as simple as this: 2165432 5 10 The data-config-file looks like this. The result is the following: { "respon