Re: Suggestion on indexing complex xml

2015-03-02 Thread Vishal Swaroop
Thanks for your time and suggestions Alex... a) So, if I use xslt... then SOLR output result will be xml, or there is a trick to get json also b) I am trying to figure out xslt template for my xml (as below) input to differentiate "parameter1" & "parameter2" as some elements are common (e.g. name

Re: Suggestion on indexing complex xml

2015-02-27 Thread Alexandre Rafalovitch
On 27 February 2015 at 16:11, Vishal Swaroop wrote: > I am able to index XML with same "name" element but in different XPATH by > using XPathEntityProcessor "forEach" (e.g. below) > > Just wondering if there is better way to handle this xml format. DIH's XML parser is rather limited and literally

Suggestion on indexing complex xml

2015-02-27 Thread Vishal Swaroop
Hi, I am able to index XML with same "name" element but in different XPATH by using XPathEntityProcessor "forEach" (e.g. below) Just wondering if there is better way to handle this xml format. a) Is there any better way to handle this scenario as xml file will have multiple sub-menu attributes (