Solr
  1. Solr
  2. SOLR-7531

Config API is merging certain key names together

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 5.0, 5.1
    • Fix Version/s: 5.2, 6.0
    • Component/s: None
    • Labels:
      None

      Description

      Starting from a new Solr 5.0 install

      ./bin/solr start -e schemaless
      curl 'http://localhost:8983/solr/gettingstarted/config' > config.json
      

      Open config.json and note that there is a key called "autoCommmitMaxDocs" under the updateHandler section.

      curl 'http://localhost:8983/solr/gettingstarted/config' -H 'Content-type:application/json' -d '{"set-property" : {"updateHandler.autoCommit.maxDocs" : 5000}}'
      curl 'http://localhost:8983/solr/gettingstarted/config' > config.json
      

      Open config.json and note that both the value of updateHandler > autoCommit > maxDocs and updateHandler > autoCommitMaxDocs is now set to 5000

        Activity

        Hide
        ASF subversion and git services added a comment -

        Commit 1679221 from Noble Paul in branch 'dev/trunk'
        [ https://svn.apache.org/r1679221 ]

        SOLR-7531: config API shows a few keys merged together

        Show
        ASF subversion and git services added a comment - Commit 1679221 from Noble Paul in branch 'dev/trunk' [ https://svn.apache.org/r1679221 ] SOLR-7531 : config API shows a few keys merged together
        Hide
        ASF subversion and git services added a comment -

        Commit 1679223 from Noble Paul in branch 'dev/trunk'
        [ https://svn.apache.org/r1679223 ]

        SOLR-7531: added a test

        Show
        ASF subversion and git services added a comment - Commit 1679223 from Noble Paul in branch 'dev/trunk' [ https://svn.apache.org/r1679223 ] SOLR-7531 : added a test
        Hide
        ASF subversion and git services added a comment -

        Commit 1679224 from Noble Paul in branch 'dev/branches/branch_5x'
        [ https://svn.apache.org/r1679224 ]

        SOLR-7531: config API shows a few keys merged together

        Show
        ASF subversion and git services added a comment - Commit 1679224 from Noble Paul in branch 'dev/branches/branch_5x' [ https://svn.apache.org/r1679224 ] SOLR-7531 : config API shows a few keys merged together
        Hide
        Shalin Shekhar Mangar added a comment -

        What is this "Pending Closed" resolution? Why not "Fixed"?

        Show
        Shalin Shekhar Mangar added a comment - What is this "Pending Closed" resolution? Why not "Fixed"?
        Hide
        Shalin Shekhar Mangar added a comment -

        I don't think the test you have added is actually testing what was reported in this issue. I don't see any mention of autoCommitMaxDocs in the test.

        Show
        Shalin Shekhar Mangar added a comment - I don't think the test you have added is actually testing what was reported in this issue. I don't see any mention of autoCommitMaxDocs in the test.
        Hide
        ASF subversion and git services added a comment -

        Commit 1679318 from Noble Paul in branch 'dev/trunk'
        [ https://svn.apache.org/r1679318 ]

        SOLR-7531: some more tests

        Show
        ASF subversion and git services added a comment - Commit 1679318 from Noble Paul in branch 'dev/trunk' [ https://svn.apache.org/r1679318 ] SOLR-7531 : some more tests
        Hide
        ASF subversion and git services added a comment -

        Commit 1679320 from Noble Paul in branch 'dev/branches/branch_5x'
        [ https://svn.apache.org/r1679320 ]

        SOLR-7531: some more tests

        Show
        ASF subversion and git services added a comment - Commit 1679320 from Noble Paul in branch 'dev/branches/branch_5x' [ https://svn.apache.org/r1679320 ] SOLR-7531 : some more tests
        Hide
        Noble Paul added a comment -

        The property updateHandler.autoCommit.openSearcher is returned as

        {
        updateHandler:{
        openSearcher:""
         }
        }
        
        Show
        Noble Paul added a comment - The property updateHandler.autoCommit.openSearcher is returned as { updateHandler:{ openSearcher:"" } }
        Hide
        ASF subversion and git services added a comment -

        Commit 1681103 from Noble Paul in branch 'dev/trunk'
        [ https://svn.apache.org/r1681103 ]

        SOLR-7531: updateHandler.autoCommit.openSearcher returned in the wrong hierarchy

        Show
        ASF subversion and git services added a comment - Commit 1681103 from Noble Paul in branch 'dev/trunk' [ https://svn.apache.org/r1681103 ] SOLR-7531 : updateHandler.autoCommit.openSearcher returned in the wrong hierarchy
        Hide
        ASF subversion and git services added a comment -

        Commit 1681104 from Noble Paul in branch 'dev/branches/branch_5x'
        [ https://svn.apache.org/r1681104 ]

        SOLR-7531: updateHandler.autoCommit.openSearcher returned in the wrong hierarchy

        Show
        ASF subversion and git services added a comment - Commit 1681104 from Noble Paul in branch 'dev/branches/branch_5x' [ https://svn.apache.org/r1681104 ] SOLR-7531 : updateHandler.autoCommit.openSearcher returned in the wrong hierarchy
        Hide
        ASF subversion and git services added a comment -

        Commit 1681110 from Noble Paul in branch 'dev/branches/lucene_solr_5_2'
        [ https://svn.apache.org/r1681110 ]

        SOLR-7531: updateHandler.autoCommit.openSearcher returned in the wrong hierarchy

        Show
        ASF subversion and git services added a comment - Commit 1681110 from Noble Paul in branch 'dev/branches/lucene_solr_5_2' [ https://svn.apache.org/r1681110 ] SOLR-7531 : updateHandler.autoCommit.openSearcher returned in the wrong hierarchy
        Hide
        Anshum Gupta added a comment -

        Bulk close for 5.2.0.

        Show
        Anshum Gupta added a comment - Bulk close for 5.2.0.

          People

          • Assignee:
            Noble Paul
            Reporter:
            Shalin Shekhar Mangar
          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development