Querying XML

2014-03-09 Thread cju
I have some XML stored in Solr that looks like this: What I’d like to do is get a hit for this document if there’s an element in the XML where (@name=”Bob” AND @city=”Cincinnati”). If I write something like this, I’ll get a hit – although I’m not actually matching what I’m loo

XML with duplicate element names

2014-02-25 Thread cju
I'm trying to query XML documents stored in Riak 2.0, which has integrated Solr. My XML looks like this. So a search in Riak might look something like this: q=MainData.Info.Info@name:Bob So let's say I want to match all documents where the name="Bob" and city="Cincinnati", for