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

StreamingUpdateSolrServer doesn't send UpdateRequest.getParams()

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 4.0-ALPHA
    • clients - java
    • None

    Description

      CommonsHttpSolrServer properly encodes the request's SolrParams depending on GET or POST. However, StreamingUpdateSolrServer only looks at the params to determine whether they contain optimize/commit ops, and otherwise discards them.

      This is unexpected - it should properly encode and send SolrParams per request, in a similar way as CommonsHttpSolrServer does. Currently this bug prevents one from e.g. selecting a different update chain per request when using the streaming server.

      Attachments

        1. SOLR-3139.patch
          6 kB
          Sami Siren

        Activity

          People

            siren Sami Siren
            ab Andrzej Bialecki
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: