[ https://issues.apache.org/jira/browse/SOLR-614?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12617236#action_12617236 ]
noble.paul edited comment on SOLR-614 at 7/26/08 10:48 PM: ----------------------------------------------------------- This one change has the potential to cleanup a lot of ugly XPath reading in our code. The intend here is to cleanup our internal code if needed. In many places (eg:updateHandler , SOLR-660 etc) we have a simple format but the parsing code is still ugly. Another interesting point I observe in that many of our components are not _NamedListInitializedPlugin_ Just because of this one reason. They will have to stick to this ugly format. So what happens is, components take in an XML Node to parse their custom XML One point that all of us accept is that the current format is ugly. Moreover , the NameList format is no XML standard . It is just *another* response format for SOLR output . My request is let us *please* not impose a weird format on component writers . Let us give choice to component writers who use Solr1.3 release as their base. The longer we delay this harder it gets to change this. was (Author: noble.paul): This one change has the potential to cleanup a lot of ugly XPath reading in our code. The intend here is to cleanup our internal code if needed. In many places (eg:updateHandler , SOLR-660 etc) we have a simple format but the parsing code is still ugly. > 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 > Fix For: 1.3 > > Attachments: 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.