You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "Houston Putman (Jira)" <ji...@apache.org> on 2021/03/10 16:40:00 UTC
[jira] [Commented] (SOLR-15222) Solr should not auto-create the
"userfiles" dir
[ https://issues.apache.org/jira/browse/SOLR-15222?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17298951#comment-17298951 ]
Houston Putman commented on SOLR-15222:
---------------------------------------
Not sure I love requiring people create the directory on their own, but I definitely agree it shouldn't be autocreated if the feature isn't used.
Would it be possible to create the directory the first time someone tries to upload a file to the "filestore"?
> 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
> Priority: Major
>
> 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