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-unsubscr...@solr.apache.org
For additional commands, e-mail: issues-h...@solr.apache.org

Reply via email to