Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.1
    • Component/s: None
    • Labels:
      None

      Description

      hhttp://yonik.com/solr-json-request-api/

      The drawbacks to only having a query-parameter API include:

      • Inherently un-structured, requiring unsightly parameters like f.facet_name.facet.range.start=5
      • Inherently un-typed… everything is a string.
      • More difficult to decipher large requests.
      • Harder to programmatically create a request.
      • Impossible to validate. Because of the lack of structure, we don’t know the set of valid parameter and thus can’t do good error checking.
      1. SOLR-7216.patch
        11 kB
        Yonik Seeley

        Activity

        Hide
        Yonik Seeley added a comment -

        Here's a patch finishing up this issue (most of it was committed as part of SOLR-7214) since they were intertwined.

        • removes exception when search request has a body
        • adds "json" to debugging output
        • adds tests
        Show
        Yonik Seeley added a comment - Here's a patch finishing up this issue (most of it was committed as part of SOLR-7214 ) since they were intertwined. removes exception when search request has a body adds "json" to debugging output adds tests
        Hide
        ASF subversion and git services added a comment -

        Commit 1668168 from Yonik Seeley in branch 'dev/trunk'
        [ https://svn.apache.org/r1668168 ]

        SOLR-7216: JSON request API

        Show
        ASF subversion and git services added a comment - Commit 1668168 from Yonik Seeley in branch 'dev/trunk' [ https://svn.apache.org/r1668168 ] SOLR-7216 : JSON request API
        Hide
        ASF subversion and git services added a comment -

        Commit 1668170 from Yonik Seeley in branch 'dev/branches/branch_5x'
        [ https://svn.apache.org/r1668170 ]

        SOLR-7216: JSON request API

        Show
        ASF subversion and git services added a comment - Commit 1668170 from Yonik Seeley in branch 'dev/branches/branch_5x' [ https://svn.apache.org/r1668170 ] SOLR-7216 : JSON request API
        Hide
        Timothy Potter added a comment -

        Bulk close after 5.1 release

        Show
        Timothy Potter added a comment - Bulk close after 5.1 release

          People

          • Assignee:
            Unassigned
            Reporter:
            Yonik Seeley
          • Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development