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

SolrJ Helper for JSON Request API

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 7.5
    • 7.7, 8.0
    • clients - java, SolrJ
    • None

    Description

      The JSON request API is becoming increasingly popular for sending querying or accessing the JSON faceting functionality. The query DSL is simple and easy to understand, but crafting requests programmatically is tough in SolrJ. Currently, SolrJ users must hardcode in the JSON body they want their request to convey. Nothing helps them build the JSON request they're going for, making use of these APIs manual and painful.

      We should see what we can do to alleviate this. I'd like to tackle this work in two pieces. This (the first piece) would introduces classes that make it easier to craft non-faceting requests that use the JSON Request API. Improving JSON Faceting support is a bit more involved (it likely requires improvements to the Response as well as the Request objects), so I'll aim to tackle that in a separate JIRA to keep things moving.

      Attachments

        1. SOLR-12947.patch
          9 kB
          Jason Gerlowski
        2. SOLR-12947.patch
          47 kB
          Jason Gerlowski
        3. SOLR-12947.patch
          46 kB
          Jason Gerlowski

        Activity

          People

            gerlowskija Jason Gerlowski
            gerlowskija Jason Gerlowski
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: