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

Gregory Chanan updated SOLR-5548:
---------------------------------

    Attachment: SOLR-5548.patch

Here's a patch that implements this.  I used it to successfully write a test 
case as I described above.

> Give DistributedSearchTestCase / JettySolrRunner the ability to specify extra 
> filters
> -------------------------------------------------------------------------------------
>
>                 Key: SOLR-5548
>                 URL: https://issues.apache.org/jira/browse/SOLR-5548
>             Project: Solr
>          Issue Type: Improvement
>          Components: Tests
>    Affects Versions: 5.0
>            Reporter: Gregory Chanan
>             Fix For: 5.0
>
>         Attachments: SOLR-5548.patch
>
>
> I want to write a test case based around my own custom request handler using 
> AbstractFullDistribZkTestBase.  The issue I'm running into is that for my 
> request handler to work properly, it requires a custom filter to set some 
> properties on the HttpServletRequest.
> AbstractFullDistribZkTestBase allows one to specify extra servlets, but not 
> extra filters on the root servlet.  It would be useful to allow the user to 
> specify extra filters that run before the SolrDispatchFilter.



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)

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

Reply via email to