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

Anshum Gupta updated SOLR-7484:
-------------------------------
    Attachment: SOLR-7484.patch

Some more refactoring, it's still WIP but I'll continue to build on this 
tomorrow morning. Still need to move stuff into smaller methods and document.

This moves things into a 3 stage process for HttpSolrCall (renamed SolrCall).
* Construct - Initialize variables
* Set context - Sets the path, handler, etc. still working on populating it 
with processed information e.g. collection name etc.
* {.call()}} - This also calls {{setContext}} and then processes the request or 
returns RETRY/FORWARD/etc. action. to the filter.

> Refactor SolrDispatchFilter.doFilter(...) method
> ------------------------------------------------
>
>                 Key: SOLR-7484
>                 URL: https://issues.apache.org/jira/browse/SOLR-7484
>             Project: Solr
>          Issue Type: Improvement
>            Reporter: Anshum Gupta
>            Assignee: Anshum Gupta
>         Attachments: SOLR-7484.patch, SOLR-7484.patch, SOLR-7484.patch, 
> SOLR-7484.patch, SOLR-7484.patch, SOLR-7484.patch
>
>
> Currently almost everything that's done in SDF.doFilter() is sequential. We 
> should refactor it to clean up the code and make things easier to manage.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to