RE: Multi-level nesting query inconsistency

2016-10-03 Thread Juan Botero
3. I have not been able to write a working [subquery], could you help me out and write anyone for me with this data. -Original Message- From: Mikhail Khludnev [mailto:m...@apache.org] Sent: Monday, October 03, 2016 1:11 PM To: solr-user Subject: Re: Multi-level nesting query inconsist

Re: Multi-level nesting query inconsistency

2016-10-03 Thread Mikhail Khludnev
Hello, you can strip grandchildren with [child parentFilter=otype:pf limit=500 childFilter='otype:(a p ap)'] If you need to get three level nesting you might probably check [subquery], but I suppose it's easier to recover hierarchy from what you have rigth now. On Mon, Oct 3, 2016 at 7:38 PM, Juan

Multi-level nesting query inconsistency

2016-10-03 Thread Juan Botero
I am fairly new to Solr, so is possible I am writing the query wrong (I have Solr 4.10) On this data: [{ "id": -1666, "otype": "ao", "parent_id": -1, "parent_type": "root", "name": "JOSHUA N AARON MD PA", "account_number": "002812300", "tax_id": "50042772325", "group_npi": 134630688333, "