You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "Fil Shaman (Jira)" <ji...@apache.org> on 2023/02/11 06:11:00 UTC

[jira] [Created] (SOLR-16655) Indexing nested documents and URPs

Fil Shaman created SOLR-16655:
---------------------------------

             Summary: Indexing nested documents and URPs
                 Key: SOLR-16655
                 URL: https://issues.apache.org/jira/browse/SOLR-16655
             Project: Solr
          Issue Type: Bug
      Security Level: Public (Default Security Level. Issues are Public)
          Components: Schema and Analysis
    Affects Versions: 8.11.2
            Reporter: Fil Shaman
         Attachments: managed-schema, nested.json, solrconfig.xml

I testing some functionality of indexing nested child documents and It looks like the custom URPs does not apply to child documents and Solr  use default update request processor chain to processing childs.

Configs and data to reproduce the issue  in the attachment.

When sending data to Solr:

{{{{curl --data-binary @nested.json -H 'Content-type:application/json' '[http://localhost:8983/solr/nesttest/update?commit=true'|http://localhost:8983/solr/nesttest/update?commit=true%27]}}}}

{{{}}
{{  "responseHeader":{}}
{{    "status":400,}}
{{    "QTime":1},}}
{{  "error":{}}
{{    "metadata":[}}
{{      "error-class","org.apache.solr.common.SolrException",}}
{{      "root-error-class","org.apache.solr.common.SolrException"],}}
{{    "msg":"ERROR: [doc=doc1c1c1] Error adding field 'date'='2015-10-02T14:52:37' msg=Invalid Date String:'2015-10-02T14:52:37'",}}
{{    "code":400}}}}

If remove child from data, dates fields recognized with configured templates correctly. If added to date field value in children 'Z' char it again work.

 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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