You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "Mike Drob (Jira)" <ji...@apache.org> on 2021/04/26 17:06: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=17332599#comment-17332599 ] 

Mike Drob commented on SOLR-15222:
----------------------------------

A few questions about how the user files feature is supposed to work -

1. I see mentions of it in the ref guide paired with the {{cat}} streaming function - is there anything else that uses this directory?
2. Is this relevant for both Cloud mode and standalone mode, or just one of the two deployment models?

> 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
>            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@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org