Re: Nested document query with wrong numFound value

2015-12-11 Thread Yago Riveiro
Mmmm, In fact, if I running a json facet query the result count is 5 for both of them, this is consistent with the debug query. What I don't understand is from where these documents are. I pre-clean the colection several time with a delete query (id:*) and index always  3181426982318142

Re: Nested document query with wrong numFound value

2015-12-11 Thread Mikhail Khludnev
On Fri, Dec 11, 2015 at 11:05 PM, Yago Riveiro wrote: > When do you say that I have duplicates, what do you mean? > I mean http: //node-01:8983/solr/ecommerce-15_shard1_replica2/: { QTime: "0", ElapsedTime: "2", Req

Re: Nested document query with wrong numFound value

2015-12-11 Thread Yago Riveiro
When do you say that I have duplicates, what do you mean?  If I have duplicate documents is not intentional, each document must be unique. Running a query for each id: - Parent :  3181426982318142698228 - Child_1 : 31814269823181426982280 - Child_2 : 31814269823181426982281 The resul

Re: Nested document query with wrong numFound value

2015-12-11 Thread Mikhail Khludnev
Ok. I got it. SolrCloud relies on uniqueKey (id) for merging shard results, but in your examples it doesn't work, because nested documents disables this. And you have duplicates, which make merge heap mad: false}

Re: Nested document query with wrong numFound value

2015-12-11 Thread Yago Riveiro
This: { responseHeader: { status: 0, QTime: 10, params: { q: "id:3181426982318142698228*", debugQuery: "true" } }, response: {

Re: Nested document query with wrong numFound value

2015-12-11 Thread Mikhail Khludnev
what do you see with debugQuery=true ? On Fri, Dec 11, 2015 at 2:02 PM, Yago Riveiro wrote: > Hi, > > I'm playing with the nested documents feature and after run this query: > > http://localhost:8983/solr/ecommerce-15/query?q=id:3181426982318142698228* > > The documents has the IDs: > > - Paren