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

put back support for the flag 'includeDynamic' to the /schema/fields api

    Details

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

      Description

      This was available till 5.5 and was taken out in 6.0 release as part of SOLR-8736

        Issue Links

          Activity

          Hide
          noble.paul Noble Paul added a comment -

          fixed with and testcase added

          Show
          noble.paul Noble Paul added a comment - fixed with and testcase added
          Hide
          jira-bot ASF subversion and git services added a comment -

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

          SOLR-8985: Added back support for 'includeDynamic' flag to /schema/fields endpoint

          Show
          jira-bot ASF subversion and git services added a comment - Commit 9313a6304b3d6560b6dce68ef4c0efaab52b22b8 in lucene-solr's branch refs/heads/master from Noble Paul [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=9313a63 ] SOLR-8985 : Added back support for 'includeDynamic' flag to /schema/fields endpoint
          Hide
          jira-bot ASF subversion and git services added a comment -

          Commit 6c746693758099f685552e841b4f2c13d929eefa 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=6c74669 ]

          SOLR-8985: Added back support for 'includeDynamic' flag to /schema/fields endpoint

          Show
          jira-bot ASF subversion and git services added a comment - Commit 6c746693758099f685552e841b4f2c13d929eefa 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=6c74669 ] SOLR-8985 : Added back support for 'includeDynamic' flag to /schema/fields endpoint
          Hide
          steve_rowe Steve Rowe added a comment - - edited

          Noble, the functionality you added (return all dynamic fields in the response when the "dynamicFields" query param is set to true on a request to schema/fields) is not the same as the original feature.

          Here's the description you removed from the ref guide's Schema API page of what the feature was:

          param type required default description
          includeDynamic boolean No false If true, and if the fl query parameter is specified or the fieldname path parameter is used, matching dynamic fields are included in the response and identified with the dynamicBase property. If neither the fl query parameter nor the fieldname path parameter is specified, the includeDynamic query parameter is ignored. If false, matching dynamic fields will not be returned.

          FYI, here's an example of this kind of query on Solr 5.4.1:

          $ curl "http://localhost:8983/solr/testing123/schema/fields?fl=test_s&includeDynamic=true"
          {
            "responseHeader":{
              "status":0,
              "QTime":1},
            "fields":[{
                "name":"test_s",
                "type":"string",
                "indexed":true,
                "stored":true,
                "dynamicBase":"*_s"}]}
          
          Show
          steve_rowe Steve Rowe added a comment - - edited Noble, the functionality you added (return all dynamic fields in the response when the "dynamicFields" query param is set to true on a request to schema/fields ) is not the same as the original feature. Here's the description you removed from the ref guide's Schema API page of what the feature was: param type required default description includeDynamic boolean No false If true , and if the fl query parameter is specified or the fieldname path parameter is used, matching dynamic fields are included in the response and identified with the dynamicBase property. If neither the fl query parameter nor the fieldname path parameter is specified, the includeDynamic query parameter is ignored. If false , matching dynamic fields will not be returned. FYI, here's an example of this kind of query on Solr 5.4.1: $ curl "http://localhost:8983/solr/testing123/schema/fields?fl=test_s&includeDynamic=true" { "responseHeader":{ "status":0, "QTime":1}, "fields":[{ "name":"test_s", "type":"string", "indexed":true, "stored":true, "dynamicBase":"*_s"}]}
          Hide
          jira-bot ASF subversion and git services added a comment -

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

          SOLR-8985: Added back support for 'includeDynamic' flag to /schema/fields endpoint

          Show
          jira-bot ASF subversion and git services added a comment - Commit 83e06a07d0d5a91465bf5f466c96d5317e448f96 in lucene-solr's branch refs/heads/branch_6_0 from Noble Paul [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=83e06a0 ] SOLR-8985 : Added back support for 'includeDynamic' flag to /schema/fields endpoint
          Hide
          steve_rowe Steve Rowe added a comment -

          See SOLR-8992.

          Show
          steve_rowe Steve Rowe added a comment - See SOLR-8992 .
          Hide
          steve_rowe Steve Rowe added a comment -

          Bulk close issues included in the 6.0.1 release.

          Show
          steve_rowe Steve Rowe added a comment - Bulk close issues included in the 6.0.1 release.

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development