I am redoing an example and realized I have no idea what the formatting rules are.
In the code, the WIKI says, we should use 2-spaces offset. What about in config (XML) files? I see no tabs, so at least that part is clear. But with spaces, I see all sorts of things. I seem to see a mix of 4 and 2 spaces in managed-schema. I seem to see 2 spaces in solrconfig.xml. I am not sure what I see in DIH configuration files. Also, there are comments and their multi-line internal comments. I seem to see 1 space there. Also, does the text in the comment start on the same line as comment indicator (<!---) or next line. Or whatever.... ? Are there any resource or guideline on that? I am happy to apply a style but not sure what that is. Regards, Alex. P.s. I guess managed-schema gets rewritten anyway, but - until then - I want it to look pretty with all the comments right. ---- http://www.solr-start.com/ - Resources for Solr users, new and experienced --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
