[ 
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.

Reply via email to