lucene-dev mailing list archives

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


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

Here's a patch with a unit test.  Note I only changed the client side.  On the server side,
we may eventually want to support better parsing in SolrRequestParsers (right now, only the
queryString of puts are parsed) and to handle the caching in HttpCacheHeaderUtil.  But since
puts are only used in the schema API, and that is handled by the REST API that doesn't use
those classes, this is sufficient.

> Give HttpSolrServer the ability to send PUT requests
> ----------------------------------------------------
>                 Key: SOLR-6543
>                 URL:
>             Project: Solr
>          Issue Type: Improvement
>          Components: SolrJ
>            Reporter: Gregory Chanan
>            Priority: Minor
>         Attachments: SOLR-6543.patch
> Given that the schema API has a PUT request (
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

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message