uschindler commented on pull request #567: URL: https://github.com/apache/lucene/pull/567#issuecomment-1003343605
> > The problem with your patch is that you change public API to suddenly use relative resource names in public ctors. Instead we should deprecate those and add InputStream taking actors. > > I am 99% (even though not 100%) sure anyone who uses the 2-args protected constructor uses it for loading external resources on their file system (since I know this was introduced to do so for really advanced users), and most users use no-arg constructor (this implicitly loads resources from the default path); but in theory, I agree it can change the behavior of the constructor. We should clean that up in a later PR. The quick fix I will use locally is to add another (possibly hidden) enum constant "CLASS". -- 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...@lucene.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org