lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Erick Erickson (JIRA)" <>
Subject [jira] [Updated] (SOLR-5825) Separate http request creation and execution in SolrJ
Date Sat, 08 Mar 2014 14:16:44 GMT


Erick Erickson updated SOLR-5825:

    Attachment: SOLR-5825.patch

Patch with unused SorlRequest removed and an entry in CHANGES.txt

> Separate http request creation and execution in SolrJ
> -----------------------------------------------------
>                 Key: SOLR-5825
>                 URL:
>             Project: Solr
>          Issue Type: Improvement
>          Components: clients - java
>            Reporter: Steven Bower
>            Assignee: Erick Erickson
>         Attachments: SOLR-5825.patch, SOLR-5825.patch
> In order to implement some custom behaviors I split the request() method in HttpSolrServer
into 2 distinct method createMethod() and executeMethod(). This allows for customization of
either/both of these phases vs having it in a single function.
> In my use case I extended HttpSolrServer to support client side timeouts (so_timeout,
connectTimeout and request timeout).. without duplicating the code in request() I couldn't

This message was sent by Atlassian JIRA

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

View raw message