You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "David Smiley (Jira)" <ji...@apache.org> on 2021/03/05 21:06:00 UTC

[jira] [Created] (SOLR-15222) Solr should not auto-create the "userfiles" dir

David Smiley created SOLR-15222:
-----------------------------------

             Summary: Solr should not auto-create the "userfiles" dir
                 Key: SOLR-15222
                 URL: https://issues.apache.org/jira/browse/SOLR-15222
             Project: Solr
          Issue Type: Improvement
      Security Level: Public (Default Security Level. Issues are Public)
            Reporter: David Smiley


The "userfiles" feature is relatively obscure and might be subsumed by the "file store".  I don't think an obscure feature should be auto-creating its "userfiles" directory.  Even a popular one; not sure it makes sense.  If a user wants to use this feature, they are welcome to create the directory.  Solr has other optional directories, like solr-home/lib that are not auto-created; it's not clear to me why this one is.  I've found the auto-creation of this dir to be annoying in two ways.  One is in Solr's tests – there are existing Jira issues that show stack traces about this even though it's ignored.  Secondly is as a down-stream consumer for running/building Solr plugins that have a Solr home dir pointing somewhere that suddenly has this userfiles dir popping up despite me having no plans to use it.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org