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

Give HttpSolrServer the ability to send PUT requests

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.0, 6.0
    • Component/s: SolrJ
    • Labels:
      None

      Description

      Given that the schema API has a PUT request (https://cwiki.apache.org/confluence/display/solr/Schema+API#SchemaAPI-Createonenewschemafield) it would be nice if HttpSolrServer supported sending PUTs, so it could be used for sending that type of request. Note if we really wanted to fully support that request we'd probably want a Request/Response type in solrj as well, but that can be handled in a separate issue.

      Also, administrators may add arbitrary filters that require PUT requests. In my own setup, I have a version of Hadoop's DelegationTokenAuthenticationFilter sitting in front of the dispatch filter. Here also it would be nice if I could send all requests via HttpSolrServer.

        Attachments

        1. SOLR-6543.patch
          11 kB
          Gregory Chanan
        2. SOLR-6543.patch
          10 kB
          Gregory Chanan

          Activity

            People

            • Assignee:
              gchanan Gregory Chanan
              Reporter:
              gchanan Gregory Chanan
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: