Re: XML nested structure in solr

2015-02-09 Thread Erik Hatcher
There’s https://issues.apache.org/jira/browse/SOLR-5147 - but unfortunately it didn’t make it to the upcoming 5.0 release. It will be in the 5.1 release though. Using parent/child (block/join) is what I would consider a last resort choice thoug

Re: XML nested structure in solr

2015-02-09 Thread Jens Mayer
Hey, could you please give me an example how I can store the original xml? And do you know an existing way how I can import the xml with parent/childrens without using solrJ e.g. DataImportHandler? Jan Høydahl schrieb am 13:58 Montag, 9.Februar 2015: Hi, By storing your original X

Re: XML nested structure in solr

2015-02-09 Thread Jens Mayer
Hey, thanks for your answer.Yes I've already checked out the XPathEntityProcessor but it's flatten my documents.This is quite good working for the first part of my example xml-file, but now i´m looking for a solution of the "timeinfo" part. I like to keep the nested structure up. So I search for

Re: XML nested structure in solr

2015-02-09 Thread Jan Høydahl
Hi The most common approach is to flatten the document and map to chosen schema fields in Solr. You could also store the original XML in a STORED field for the purpose of returning to the client. Have you checked out XPathEntityProcessor (https://cwiki.apache.org/confluence/display/solr/Uploadi