what do you see with debugQuery=true  ?

On Fri, Dec 11, 2015 at 2:02 PM, Yago Riveiro <yago.rive...@gmail.com>
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:
>
> - Parent :  3181426982318142698228
> - Child_1 : 31814269823181426982280
> - Child_2 : 31814269823181426982281
>
>
> I have this return:
>
> {
>         responseHeader: {
>                 status: 0,
>                 QTime: 3,
>                 params: {
>                         q: "id:3181426982318142698228*"
>                 }
>         },
>         response: {
>                 numFound: 3,
>                 start: 0,
>                 maxScore: 1,
>                 docs: [{
>                         id: "31814269823181426982280",
>                         child_type: "ecommerce_product",
>                         qty: 1,
>                         product_price: 49.99
>                 }, {
>                         id: "31814269823181426982281",
>                         child_type: "ecommerce_product",
>                         qty: 1,
>                         product_price: 139.9
>                 }]
>         }
> }
>
> As you can see the numFound is 3, and I have only 2 child documents, it's
> not supposed to ignore the parent document?
>
>
>
> -----
> Best regards
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/Nested-document-query-with-wrong-numFound-value-tp4244851.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>



-- 
Sincerely yours
Mikhail Khludnev
Principal Engineer,
Grid Dynamics

<http://www.griddynamics.com>
<mkhlud...@griddynamics.com>

Reply via email to