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 37D99C03C for ; Wed, 9 May 2012 02:30:10 +0000 (UTC) Received: (qmail 27769 invoked by uid 500); 9 May 2012 02:30:09 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 27670 invoked by uid 500); 9 May 2012 02:30:09 -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 27653 invoked by uid 99); 9 May 2012 02:30:09 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 May 2012 02:30:09 +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; Wed, 09 May 2012 02:30:08 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 2614E43A3EB for ; Wed, 9 May 2012 02:29:48 +0000 (UTC) Date: Wed, 9 May 2012 02:29:48 +0000 (UTC) From: "Chris Male (JIRA)" To: dev@lucene.apache.org Message-ID: <1642117344.42186.1336530588157.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <818352948.41888.1336524950218.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (LUCENE-4044) Add NamedSPILoader support to TokenizerFactory, TokenFilterFactory and CharFilterFactory 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/LUCENE-4044?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13271020#comment-13271020 ] Chris Male commented on LUCENE-4044: ------------------------------------ There will be alot of different packages, I assumed that cycling through them all would be undesirable. > Add NamedSPILoader support to TokenizerFactory, TokenFilterFactory and CharFilterFactory > ---------------------------------------------------------------------------------------- > > Key: LUCENE-4044 > URL: https://issues.apache.org/jira/browse/LUCENE-4044 > Project: Lucene - Java > Issue Type: Sub-task > Components: modules/analysis > Reporter: Chris Male > Fix For: 4.0 > > > In LUCENE-2510 I want to move all the analysis factories out of Solr and into the directories with what they create. This is going to hamper Solr's existing strategy for supporting {{solr.*}} package names, where it replaces {{solr}} with various pre-defined package names. One way to tackle this is to use NamedSPILoader so we simply look up {{StandardTokenizerFactory}} for example, and find it wherever it is, as long as it is defined as a service. This is similar to how we support Codecs currently. > As noted by Robert in LUCENE-2510, this would also have the benefit of meaning configurations could be less verbose, would aid in fully decoupling the analysis module from Solr, and make the analysis factories easier to interact with. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa 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