[jira] [Updated] (SOLR-11353) Incorrect children returned on facet query

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Updated] (SOLR-11353) Incorrect children returned on facet query

JIRA jira@apache.org

     [ https://issues.apache.org/jira/browse/SOLR-11353?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chris de Kok updated SOLR-11353:
--------------------------------
    Description:
When I query for child documents like

{{&fl=id,priref,[child parentFilter=parent:images]&fq=database:"images"}}

Everything works ok the correct children are returned.
Now if I add a fq parem which filters on children:

{{&fq={!parent which="parent:images"}geo:[38.671875,-101.25 TO 41.30859375,-95.2734375]}}

Suddenly I see incorrect children being returned.
{{
{
"id":"images_397",
"database":"images",
"_childDocuments_":[
{
    "database":"artists_child"
}}}

This child document belongs to a different parent record.


  was:
When I query for child documents like

&fl=id,priref,[child parentFilter=parent:images]&fq=database:"images"

Everything works ok the correct children are returned.
Now if I add a fq parem which filters on children:

&fq={!parent which="parent:images"}geo:[38.671875,-101.25 TO 41.30859375,-95.2734375]

Suddenly I see incorrect children being returned.

{
"id":"images_397",
"database":"images",
"_childDocuments_":[
{
    "database":"artists_child"
}

This child document belongs to a different parent record.



> Incorrect children returned on facet query
> ------------------------------------------
>
>                 Key: SOLR-11353
>                 URL: https://issues.apache.org/jira/browse/SOLR-11353
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public)
>    Affects Versions: 6.6
>            Reporter: Chris de Kok
>              Labels: parent, parentchild
>
> When I query for child documents like
> {{&fl=id,priref,[child parentFilter=parent:images]&fq=database:"images"}}
> Everything works ok the correct children are returned.
> Now if I add a fq parem which filters on children:
> {{&fq={!parent which="parent:images"}geo:[38.671875,-101.25 TO 41.30859375,-95.2734375]}}
> Suddenly I see incorrect children being returned.
> {{
> {
> "id":"images_397",
> "database":"images",
> "_childDocuments_":[
> {
>     "database":"artists_child"
> }}}
> This child document belongs to a different parent record.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]