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

2017-01-26 Thread Fabien Renaud
Is anyone thinking this is a normal behavior? To get random children? And to have a different (correct) behavior if you commit after sending each document? Fabien -Original Message- From: Fabien Renaud [mailto:fabien.ren...@findwise.com] Sent: den 24 januari 2017 19:23 To: solr-user

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 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

Indexing nested documents giving back unrelated parents when asking for children

2017-01-24 Thread Fabien Renaud
Hello, I'm wondering if I missed something in my code (which uses solrj 6.3): public class Main { private SolrClient client1; public void run() { client1 = new HttpSolrClient.Builder("http://localhost:8983/solr";).build(); SolrInputDocument doc1 = new SolrInputDocument