[
https://issues.apache.org/jira/browse/SOLR-614?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12620320#action_12620320
]
Hoss Man commented on SOLR-614:
-------------------------------
FWIW...
bq. We do not have consistency in the way multiple components are configured.
eg: UpdateHandler, UpdateProcessorChain, mainIndex etc.
There is a *huge* difference between having different types of plugins (ie:
UpdateHandlers and RequestHandlers) configured with different syntaxes and
allowing completely different config syntaxes for different implementations of
the same type of plugin (ie: RequestHandler) -- people are not surprised when
dissimilar things have dissimilar configuration, they are suprised when two
tings of the same "type" can be configured with radically different syntaxes.
bq. We must not support multiple formats . We must stick to one an we will
support only one .
This comment doesn't make sense to me ... we have one syntax right now, this
issue adds an arbitrary number of new syntaxes for any type of plugin whose
init() method takes a NamedList -- and different implementations of those types
can use it different ways.
How is that not multiple formats?
I don't see any future for this change that doesn't involve people getting
confused because they see RequestHandler X configured with one syntax in our
example configs, but then in some third party plugin project they see
RequestHandler Y configured with a completely different syntax and they have no
idea what the right way to configure RequestHandler Z is.
bq. But I also see that having ugly configs makes it difficult to be clear
about what it does.
having divergent configs makes it even more difficult. at least with one ugly
syntax once you understand it for one instance, you understand it for all
instances.
> Allow components to read any kind of XML from solrconfig
> --------------------------------------------------------
>
> Key: SOLR-614
> URL: https://issues.apache.org/jira/browse/SOLR-614
> Project: Solr
> Issue Type: Improvement
> Affects Versions: 1.3
> Reporter: Noble Paul
> Assignee: Shalin Shekhar Mangar
> Priority: Trivial
> 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.