Solr
  1. Solr
  2. SOLR-4537

Clean up schema information REST API

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 4.2
    • Fix Version/s: 4.2.1, 4.3, Trunk
    • Component/s: Schema and Analysis
    • Labels:
      None

      Description

      SOLR-4503 introduced schema information REST API resources for fields, dynamicFields, fieldTypes, and copyFields.

      However, TestFieldsCollectionResource tests make assumptions about the order in which results are returned, and FieldsCollectionResource doesn't provide them in a stable order, and as a result, those tests are failing in environments where the hash iteration order is different from mine (see http://markmail.org/message/phknufx4ywlc7eiw).

      Also, FieldsCollectionResource always ignores the "includeDynamic" query parameter, which makes sense in the get-me-info-on-all-the-fields case (i.e., the "fl" query parameter is not specified), but when the "fl" query parameter is specified, the "includeDynamic" query parameter should be respected, so that if a requested field doesn't match an explicit field, but matches a dynamic field, properties for the matching dynamic field are returned.

        Issue Links

          Activity

          Hide
          Steve Rowe added a comment -

          Patch fixing both issues.

          Committing shortly.

          Show
          Steve Rowe added a comment - Patch fixing both issues. Committing shortly.
          Hide
          Commit Tag Bot added a comment -

          [trunk commit] Steven Rowe
          http://svn.apache.org/viewvc?view=revision&revision=1454141

          SOLR-4537: Clean up schema information REST API

          Show
          Commit Tag Bot added a comment - [trunk commit] Steven Rowe http://svn.apache.org/viewvc?view=revision&revision=1454141 SOLR-4537 : Clean up schema information REST API
          Hide
          Steve Rowe added a comment -

          Committed to trunk and branch_4x.

          Show
          Steve Rowe added a comment - Committed to trunk and branch_4x.
          Hide
          Commit Tag Bot added a comment -

          [branch_4x commit] Steven Rowe
          http://svn.apache.org/viewvc?view=revision&revision=1454159

          SOLR-4537: Clean up schema information REST API (merged trunk r1454141)

          Show
          Commit Tag Bot added a comment - [branch_4x commit] Steven Rowe http://svn.apache.org/viewvc?view=revision&revision=1454159 SOLR-4537 : Clean up schema information REST API (merged trunk r1454141)
          Hide
          Commit Tag Bot added a comment -

          [branch_4x commit] Steven Rowe
          http://svn.apache.org/viewvc?view=revision&revision=1457615

          Move SOLR-4537 from 4.3 to 4.2.1 (merged trunk r1457614)

          Show
          Commit Tag Bot added a comment - [branch_4x commit] Steven Rowe http://svn.apache.org/viewvc?view=revision&revision=1457615 Move SOLR-4537 from 4.3 to 4.2.1 (merged trunk r1457614)
          Hide
          Commit Tag Bot added a comment -

          [trunk commit] Steven Rowe
          http://svn.apache.org/viewvc?view=revision&revision=1457614

          Move SOLR-4537 from 4.3 to 4.2.1

          Show
          Commit Tag Bot added a comment - [trunk commit] Steven Rowe http://svn.apache.org/viewvc?view=revision&revision=1457614 Move SOLR-4537 from 4.3 to 4.2.1
          Hide
          Uwe Schindler added a comment -

          Closed after release.

          Show
          Uwe Schindler added a comment - Closed after release.

            People

            • Assignee:
              Steve Rowe
              Reporter:
              Steve Rowe
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development