Return-Path: X-Original-To: apmail-lucene-dev-archive@www.apache.org Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8B2FE68C6 for ; Sat, 9 Jul 2011 00:20:43 +0000 (UTC) Received: (qmail 48740 invoked by uid 500); 9 Jul 2011 00:20:42 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 48454 invoked by uid 500); 9 Jul 2011 00:20:41 -0000 Mailing-List: contact dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@lucene.apache.org Delivered-To: mailing list dev@lucene.apache.org Received: (qmail 48441 invoked by uid 99); 9 Jul 2011 00:20:41 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 09 Jul 2011 00:20:41 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 09 Jul 2011 00:20:38 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 314324EB4D for ; Sat, 9 Jul 2011 00:20:17 +0000 (UTC) Date: Sat, 9 Jul 2011 00:20:17 +0000 (UTC) From: "Ryan McKinley (JIRA)" To: dev@lucene.apache.org Message-ID: <356148644.13107.1310170817198.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <240221985.187.1309861637259.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (SOLR-2633) Make SolrDispatchFilter testable and add tests MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/SOLR-2633?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13062261#comment-13062261 ] Ryan McKinley commented on SOLR-2633: ------------------------------------- Oh man... SOLR-104! The key reason was backwards compatibility. At the time there was a servlet mapping /select -- Changing to a filter let us map /* and optionally override the leggacy servlet if that was configured in solrconfg (handleSelect=true) > Make SolrDispatchFilter testable and add tests > ---------------------------------------------- > > Key: SOLR-2633 > URL: https://issues.apache.org/jira/browse/SOLR-2633 > Project: Solr > Issue Type: Improvement > Components: search > Affects Versions: 3.1, 3.2, 3.3 > Reporter: Edoardo Tosca > Assignee: Mark Miller > Priority: Minor > Fix For: 3.4, 4.0 > > Attachments: SOLR-2633-tests-only.patch, SOLR-2633-tests-only.patch > > > I have ideas for possible extensions/enhancements to the SolrDispatchFilter. However, as it doesn't have any tests, making safe enhancements is difficult. Given its monolithic nature, it is hard to test. Therefore, I am proposing to refactor it to make it testable, and to provide tests for it. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org For additional commands, e-mail: dev-help@lucene.apache.org