You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "zhengkangqiu (Jira)" <ji...@apache.org> on 2021/11/19 09:51:00 UTC

[jira] [Updated] (SOLR-15810) Solr文档可以添加相同ID的嵌套文档

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

zhengkangqiu updated SOLR-15810:
--------------------------------
    Description: 
1、索引文档包含子文档(index parent document include nested document)

{
        "id":"1556afc04a964c70a4ed2f72c534cd31",
        "price_i":666,
        "color_s":"GREY",
        "wx":\{           "signatureField":"2d7460365c7044df8c6cb19925565c45",           "id":"2d7460365c7044df8c6cb19925565c45",           "price_i":3333         }

}

2、添加子文档(add a child document to parent document)

 

3、查询文档变化(look for result)

  was:
1、索引文档包含子文档(index parent document include nested document)

{
        "id":"1556afc04a964c70a4ed2f72c534cd31",
        "price_i":666,
        "color_s":"GREY",
        "wx":
        {
          "signatureField":"2d7460365c7044df8c6cb19925565c45",
          "id":"2d7460365c7044df8c6cb19925565c45",
          "price_i":3333

        }

}

2、添加子文档(add a child document to parent document)

 

3、查询文档变化(look for result)


> Solr文档可以添加相同ID的嵌套文档
> -------------------
>
>                 Key: SOLR-15810
>                 URL: https://issues.apache.org/jira/browse/SOLR-15810
>             Project: Solr
>          Issue Type: Improvement
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: Admin UI, clients - java
>    Affects Versions: 8.9, 8.11
>            Reporter: zhengkangqiu
>            Priority: Major
>
> 1、索引文档包含子文档(index parent document include nested document)
> {
>         "id":"1556afc04a964c70a4ed2f72c534cd31",
>         "price_i":666,
>         "color_s":"GREY",
>         "wx":\{           "signatureField":"2d7460365c7044df8c6cb19925565c45",           "id":"2d7460365c7044df8c6cb19925565c45",           "price_i":3333         }
> }
> 2、添加子文档(add a child document to parent document)
>  
> 3、查询文档变化(look for result)



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org