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

srcField works only when all fields are captured in the /update/json/docs endpoint

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.5.2, 6.2
    • Component/s: None
    • Labels:
      None

      Description

      $ cat ~/Desktop/nested.json
      {
        "id" : "123",
        "description": "Testing /json/docs srcField",
      
        "nested_data" : {
          "nested_inside" : "check check check"
        }
      }
      
      $ curl "http://localhost:8983/solr/test/update/json/docs?srcField=original_json_s&split=/&f=description_s:/descriptio&f=id:/id&commit=true&echo=true" -H "Content-type:application/json" -d @/Users/erikhatcher/Desktop/nested.json
      {"responseHeader":{"status":0,"QTime":1},"docs":[{"id":"123","description_s":"Testing /json/docs srcField","original_json_s":"{  \"id\" : \"123\",  \"description\": \"Testing /json/docs srcField\",  \"nested_data\" : {    \" : \"  }}"}]}
      

        Activity

        Hide
        jira-bot ASF subversion and git services added a comment -

        Commit 060cacfdab25ab3ce345cd79d4d10ded9a40c09a in lucene-solr's branch refs/heads/master from Noble Paul
        [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=060cacf ]

        SOLR-9234: srcField parameter works only when all fields are captured in the /update/json/docs endpoint

        Show
        jira-bot ASF subversion and git services added a comment - Commit 060cacfdab25ab3ce345cd79d4d10ded9a40c09a in lucene-solr's branch refs/heads/master from Noble Paul [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=060cacf ] SOLR-9234 : srcField parameter works only when all fields are captured in the /update/json/docs endpoint
        Hide
        jira-bot ASF subversion and git services added a comment -

        Commit 73d5f1c52cd7a9531f07aea6c9f88d1ff253ac64 in lucene-solr's branch refs/heads/branch_6x from Noble Paul
        [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=73d5f1c ]

        SOLR-9234: srcField parameter works only when all fields are captured in the /update/json/docs endpoint

        Show
        jira-bot ASF subversion and git services added a comment - Commit 73d5f1c52cd7a9531f07aea6c9f88d1ff253ac64 in lucene-solr's branch refs/heads/branch_6x from Noble Paul [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=73d5f1c ] SOLR-9234 : srcField parameter works only when all fields are captured in the /update/json/docs endpoint
        Hide
        jira-bot ASF subversion and git services added a comment -

        Commit 0db382e96a3e12e073c96b3dfc8bb7b0c69c8bbd in lucene-solr's branch refs/heads/branch_5_5 from Noble Paul
        [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=0db382e ]

        SOLR-9234: srcField parameter works only when all fields are captured in the /update/json/docs endpoint

        Show
        jira-bot ASF subversion and git services added a comment - Commit 0db382e96a3e12e073c96b3dfc8bb7b0c69c8bbd in lucene-solr's branch refs/heads/branch_5_5 from Noble Paul [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=0db382e ] SOLR-9234 : srcField parameter works only when all fields are captured in the /update/json/docs endpoint
        Hide
        jira-bot ASF subversion and git services added a comment -

        Commit cd981cec50617f070fcd535d0cdcafce9019e5d1 in lucene-solr's branch refs/heads/branch_5_5 from Noble Paul
        [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=cd981ce ]

        SOLR-9234: srcField parameter works only when all fields are captured in the /update/json/docs endpoint

        Show
        jira-bot ASF subversion and git services added a comment - Commit cd981cec50617f070fcd535d0cdcafce9019e5d1 in lucene-solr's branch refs/heads/branch_5_5 from Noble Paul [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=cd981ce ] SOLR-9234 : srcField parameter works only when all fields are captured in the /update/json/docs endpoint
        Hide
        jira-bot ASF subversion and git services added a comment -

        Commit 8e5d40b22a3968df065dfc078ef81cbb031f0e4a in lucene-solr's branch refs/heads/branch_5_5 from Noble Paul
        [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=8e5d40b ]

        SOLR-9234: java 7 compile errors

        Show
        jira-bot ASF subversion and git services added a comment - Commit 8e5d40b22a3968df065dfc078ef81cbb031f0e4a in lucene-solr's branch refs/heads/branch_5_5 from Noble Paul [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=8e5d40b ] SOLR-9234 : java 7 compile errors
        Hide
        steve_rowe Steve Rowe added a comment -

        Bulk close issues released with 5.5.2.

        Show
        steve_rowe Steve Rowe added a comment - Bulk close issues released with 5.5.2.
        Hide
        shalinmangar Shalin Shekhar Mangar added a comment -

        On branch_6x, this issue is only mentioned in the 5.5.2 section. It should also be in the 6.2 section.

        Show
        shalinmangar Shalin Shekhar Mangar added a comment - On branch_6x, this issue is only mentioned in the 5.5.2 section. It should also be in the 6.2 section.
        Hide
        steve_rowe Steve Rowe added a comment -

        I removed it from the 6.2 section; I'll put it back.

        Show
        steve_rowe Steve Rowe added a comment - I removed it from the 6.2 section; I'll put it back.
        Hide
        jira-bot ASF subversion and git services added a comment -

        Commit 455e041c68106a9fc7d395a6a327aee6f221d1db in lucene-solr's branch refs/heads/branch_6x from Steve Rowe
        [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=455e041 ]

        Put back 6.2 bugfixes released in 5.5.2: SOLR-9191 and SOLR-9234

        Show
        jira-bot ASF subversion and git services added a comment - Commit 455e041c68106a9fc7d395a6a327aee6f221d1db in lucene-solr's branch refs/heads/branch_6x from Steve Rowe [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=455e041 ] Put back 6.2 bugfixes released in 5.5.2: SOLR-9191 and SOLR-9234

          People

          • Assignee:
            noble.paul Noble Paul
            Reporter:
            noble.paul Noble Paul
          • Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development