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

Lightweight SolrJ client

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • main (10.0), 9.6
    • clients - java, SolrJ
    • None

    Description

      SolrJ provides a SolrServer implementation backed by commons-httpclient which introduces many dependency jars (commons-codec, commons-io and commons-logging). Apart from that SolrJ also uses StAX API for XML parsing which introduces dependencies like stax-api, stax and stax-utils.

      This enhancement will add a SolrServer implementation backed by java.net.HttpUrlConnection java.net.http.HttpClient and will use BinaryResponseParser as the default response parser. Using this basic implementation out of the box would require no dependencies on either commons-httpclient or StAX. The only dependency would be on solr-commons making this a very lightweight and distribution friendly Java client for Solr.


      See PR #2259 for details on the actual resolution.

      Attachments

        1. SOLR-599-fix-for-SolrJ-on-GAE.patch
          9 kB
          Kayode Odeyemi
        2. SOLR-599.patch
          7 kB
          Noble Paul
        3. SOLR-599.patch
          11 kB
          Ryan McKinley

        Issue Links

          Activity

            People

              jdyer James Dyer
              shalin Shalin Shekhar Mangar
              Votes:
              7 Vote for this issue
              Watchers:
              17 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 8h 50m
                  8h 50m