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

          Transition Time In Source Status Execution Times Last Executer Last Execution Date
          Open Open Resolved Resolved
          44m 14s 1 Steve Rowe 07/Mar/13 23:12
          Resolved Resolved Closed Closed
          63d 11h 21m 1 Uwe Schindler 10/May/13 11:33
          Uwe Schindler made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Hide
          Uwe Schindler added a comment -

          Closed after release.

          Show
          Uwe Schindler added a comment - Closed after release.
          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
          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)
          Steve Rowe made changes -
          Fix Version/s 5.0 [ 12321664 ]
          Fix Version/s 4.2.1 [ 12324241 ]
          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)
          Steve Rowe made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Fix Version/s 4.3 [ 12324128 ]
          Resolution Fixed [ 1 ]
          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 -

          [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
          Steve Rowe made changes -
          Attachment SOLR-4537.patch [ 12572626 ]
          Hide
          Steve Rowe added a comment -

          Patch fixing both issues.

          Committing shortly.

          Show
          Steve Rowe added a comment - Patch fixing both issues. Committing shortly.
          Steve Rowe made changes -
          Field Original Value New Value
          Link This issue is related to SOLR-4503 [ SOLR-4503 ]
          Steve Rowe created issue -

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development