lucene-solr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Noble Paul (JIRA)" <>
Subject [jira] Commented: (SOLR-614) Allow components to read any kind of XML from solrconfig
Date Tue, 29 Jul 2008 04:20:31 GMT


Noble Paul commented on SOLR-614:

bq... if we make this change, then someone who is already familiar with the way handlers are
configured won't understand the "/replication" example Noble posted
the feature that is already under development may have its syntax not yet finalized . So when
we eventually commit it, it may have a different syntax. 

bq.There is a lot of value in maintaining consistency - even if it's ugly.

We do not have consistency in the way multiple components are configured. eg: UpdateHandler,
UpdateProcessorChain, mainIndex etc.  

bq.the fact remains that if a single type of plugin (ie: RequestHandler) can support multiple
config syntaxes the potential exists for people to get very confused 

We must not support multiple formats . We must stick to one an we will support only one .

bq.Looking ahead two or three moves: adding support for something like this now would also
probably make it that much harder to write a "converter" for existing solr config files if/when
we switch to Spring or some other Java object wiring/configuration system. 

We are trivializing a config format switch . It is not going to be as simple as writing a
simple converter. We may need total rewiring of components which may involve code modification
for all the components. 

> Allow components to read any kind of XML from solrconfig
> --------------------------------------------------------
>                 Key: SOLR-614
>                 URL:
>             Project: Solr
>          Issue Type: Improvement
>    Affects Versions: 1.3
>            Reporter: Noble Paul
>            Assignee: Shalin Shekhar Mangar
>            Priority: Trivial
>             Fix For: 1.3
>         Attachments: SOLR-614.patch, SOLR-614.patch, SOLR-614.patch, SOLR-614.patch
> All the components initialized by Solr have an init(NamedList args) initializer. This
leads us to writing the configuration needed for the component in the NamedList xml format.
People familiar with Solr may know the format but most of what is written is noise than information.
For users who are not familiar w/ the format find it too difficult to understand why they
have to write it this way. Moreover , it is not a very efficient way to configure .

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message