RE: Indexing nested documents giving back unrelated parents when asking for children

2017-01-26 Thread Fabien Renaud
@lucene.apache.org Subject: RE: Indexing nested documents giving back unrelated parents when asking for children But the problem is already there with only two levels. If I change the code to add document to Solr by the following: client1.add(doc1); client1.commit

RE: Indexing nested documents giving back unrelated parents when asking for children

2017-01-24 Thread Fabien Renaud
Mikhail Khludnev [mailto:m...@apache.org] Sent: den 24 januari 2017 14:06 To: solr-user Subject: Re: Indexing nested documents giving back unrelated parents when asking for children Hello Fabien, I believe parentFilter should be type_s:up, and consequently the type_s:up should go in fq. On Tue, J

RE: Indexing nested documents giving back unrelated parents when asking for children

2017-01-24 Thread Mikhail Khludnev
ng nested documents giving back unrelated parents when asking for children Hello Fabien, I believe parentFilter should be type_s:up, and consequently the type_s:up should go in fq. On Tue, Jan 24, 2017 at 3:30 PM, Fabien Renaud wrote: > Hello, > > I'm wondering if I missed so

RE: Indexing nested documents giving back unrelated parents when asking for children

2017-01-24 Thread Fabien Renaud
ing nested documents giving back unrelated parents when asking for children Hello Fabien, I believe parentFilter should be type_s:up, and consequently the type_s:up should go in fq. On Tue, Jan 24, 2017 at 3:30 PM, Fabien Renaud wrote: > Hello, > > I'm wondering if I missed somethin

Re: Indexing nested documents giving back unrelated parents when asking for children

2017-01-24 Thread Mikhail Khludnev
Hello Fabien, I believe parentFilter should be type_s:up, and consequently the type_s:up should go in fq. On Tue, Jan 24, 2017 at 3:30 PM, Fabien Renaud wrote: > Hello, > > I'm wondering if I missed something in my code (which uses solrj 6.3): > > public class Main { > > private SolrClient