1. Solr
  2. SOLR-4537

Clean up schema information REST API


    • 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:


      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

      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


          Uwe Schindler made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Steve Rowe made changes -
          Fix Version/s 5.0 [ 12321664 ]
          Fix Version/s 4.2.1 [ 12324241 ]
          Steve Rowe made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Fix Version/s 4.3 [ 12324128 ]
          Resolution Fixed [ 1 ]
          Steve Rowe made changes -
          Attachment SOLR-4537.patch [ 12572626 ]
          Steve Rowe made changes -
          Field Original Value New Value
          Link This issue is related to SOLR-4503 [ SOLR-4503 ]
          Steve Rowe created issue -


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


              • Created: