Return-Path: Delivered-To: apmail-lucene-solr-dev-archive@minotaur.apache.org Received: (qmail 5836 invoked from network); 18 Dec 2009 02:58:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 18 Dec 2009 02:58:46 -0000 Received: (qmail 5069 invoked by uid 500); 18 Dec 2009 02:58:46 -0000 Delivered-To: apmail-lucene-solr-dev-archive@lucene.apache.org Received: (qmail 4946 invoked by uid 500); 18 Dec 2009 02:58:45 -0000 Mailing-List: contact solr-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: solr-dev@lucene.apache.org Delivered-To: mailing list solr-dev@lucene.apache.org Received: (qmail 4936 invoked by uid 99); 18 Dec 2009 02:58:45 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Dec 2009 02:58:45 +0000 X-ASF-Spam-Status: No, hits=-10.5 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Dec 2009 02:58:38 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 1F45F234C498 for ; Thu, 17 Dec 2009 18:58:18 -0800 (PST) Message-ID: <1713968957.1261105098112.JavaMail.jira@brutus> Date: Fri, 18 Dec 2009 02:58:18 +0000 (UTC) From: "Uri Boness (JIRA)" To: solr-dev@lucene.apache.org Subject: [jira] Commented: (SOLR-1668) Declarative configuration meta-data for Solr plugins In-Reply-To: <1756726611.1261098618352.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/SOLR-1668?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12792312#action_12792312 ] Uri Boness commented on SOLR-1668: ---------------------------------- Thanks! Well... no it's not Ant yet or Spring, but it's a start that can already help with Tokenizers & Filters. The current patch is actually based on setters but adding annotations on top of them can add even more meta data. For example, marking a property as required or associating a different configuration name perhaps to differentiate user friendly naming from code friendly naming (How does Ant deal with these stuff?). > Declarative configuration meta-data for Solr plugins > ---------------------------------------------------- > > Key: SOLR-1668 > URL: https://issues.apache.org/jira/browse/SOLR-1668 > Project: Solr > Issue Type: Improvement > Components: Schema and Analysis > Affects Versions: 1.4 > Reporter: Uri Boness > Priority: Minor > Fix For: 1.5 > > Attachments: commons-beanutils-1.8.2.jar, SOLR-1668.patch > > > The idea here is for plugins in Solr to carry more meta data over their configuration. This can be very useful for building tools around Solr where this meta data can be used to assist users in configuring solr. One common mechanism to provide this meta data is by using standard Java Beans for the different configuration constructs where the properties define the configurable attributes and annotations are used to provide extra information about them. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.