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

Give HttpSolrServer the ability to send PUT requests

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 5.0, 6.0
    • SolrJ
    • 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
          10 kB
          Gregory Chanan
        2. SOLR-6543.patch
          11 kB
          Gregory Chanan

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: