Re: Querying Nested documents

2015-07-15 Thread Ramesh Nuthalapati
Mikhail - This worked great. http://localhost:8983/solr/demo/select?q={!parent which='type:parent'}image_uri_s:somevalue&fl=*,[child parentFilter=type:parent childFilter=-type:parent]&indent=true Thank you. -- View this message in context: http://lucene.472066.n3.nabble.com/Querying-Nes

Re: Querying Nested documents

2015-07-14 Thread Ramesh Nuthalapati
Yes you are right. So the query you are saying should be like below .. or did I misunderstood it http://localhost:8983/solr/demo/select?q= {!parent which='type:parent'}&fl=*,[child parentFilter=type:parent childFilter=(image_uri_s:somevalue) OR (-image_uri_s:*)]&indent=true If so, I am getting a

Querying Nested documents

2015-07-13 Thread Ramesh Nuthalapati
(Duplicate post as the xml is not formatted well in nabble, so posting directly to the list) Hi, I have question regarding nested documents. My document looks like below, 1234 xger 0 0 2015-06-15T13:29:07Z ege Duper