janhoy commented on PR #3613: URL: https://github.com/apache/solr/pull/3613#issuecomment-3257591001
In slack I asked whether we in the future could generate this table from code rather than trying to keep it up to date manually. I think this is a great start, but what if we invent an annotation that can be added to all the `static final String PROP_FOO = "solr.foo`, which can drive the generation of the table through some gradle magic, e.g. ```java @SolrSysProp(desc = "Used to foo the bar", legacyName = "barFoo") public static final String PROP_NAME_FOO_BAR = "solr.foo.bar"; ``` I've never written an annotation scanner but imagine it is doable, and I love keeping documentation next to the code. NOTE: I don't propose to delay this PR for this, but just record the idea.. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org For additional commands, e-mail: issues-h...@solr.apache.org