lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gregory Chanan (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SOLR-6543) Give HttpSolrServer the ability to send PUT requests
Date Fri, 19 Sep 2014 23:55:35 GMT

     [ https://issues.apache.org/jira/browse/SOLR-6543?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Gregory Chanan updated SOLR-6543:
---------------------------------
    Attachment: SOLR-6543.patch

One thing I noticed reading over the previous patch again: there's a useMultiPartPost setting,
but I use it for put requests.  A multipart PUT seems pretty rare, so I'll just leave the
setting name as is and make sure it's only used with POST requests.  Attached patch does this.

> Give HttpSolrServer the ability to send PUT requests
> ----------------------------------------------------
>
>                 Key: SOLR-6543
>                 URL: https://issues.apache.org/jira/browse/SOLR-6543
>             Project: Solr
>          Issue Type: Improvement
>          Components: SolrJ
>            Reporter: Gregory Chanan
>            Priority: Minor
>         Attachments: SOLR-6543.patch, SOLR-6543.patch
>
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message