[
https://issues.apache.org/jira/browse/SOLR-614?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12620824#action_12620824
]
Noble Paul commented on SOLR-614:
---------------------------------
bq.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.
users do not f\differentiate between namedlist format and simple xml format.
according to them it is xml. It is only we who see it differently. So every
component has its own different configuration. As long as one component
consistently uses one configuration ,I guess we are fine. I have never seen
users complaining about the inconsistency between updatehandler/requesthandler
config. The fact is they don't care. According to them, an updatehandler and a
requesthandler1 and requesthandler2 are 3 different components needing three
different configurations.
for instance compare between spellchecker and dismax. Though they have similar
formats uses may never notice it because they have totally different
configuration. I am sure there is no cause of a confusion because users never
compare these two.
There are certain well known conventions which are important. such as defaults
, invariants etc in a requesthandler. It makes sense to have consistency in
those things.
As we start building more and more complex handlers this format can become a
real millstone around our neck. We must not sacrifice simplicity of future
components because of a few components we already have.
> 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.