Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-16655

Indexing nested documents and URPs

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Critical
    • Resolution: Unresolved
    • 8.11.2
    • None
    • Schema and Analysis
    • None

    Description

      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 build-in 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'}}

      {{{}}
        "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.

       

      Attachments

        1. managed-schema
          0.8 kB
          Fil Shaman
        2. nested.json
          0.3 kB
          Fil Shaman
        3. solrconfig.xml
          3 kB
          Fil Shaman

        Activity

          People

            Unassigned Unassigned
            filasf Fil Shaman
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: