[
https://issues.apache.org/jira/browse/SOLR-15222?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17342703#comment-17342703
]
Joel Bernstein edited comment on SOLR-15222 at 5/11/21, 4:11 PM:
-----------------------------------------------------------------
The userfiles directory is only used with the cat Streaming Expression. It's
only relevant in Cloud mode.
It provides a location where users can place files and Streaming Expressions
can read them. You might want to do this for data loading or to support a
hybrid analytics system where some data is in the index and some data is in
flat files.
We could also add a feature flag for this on startup, so it's not the default
but easy to turn on.
was (Author: joel.bernstein):
The userfiles directory is only used with the cat Streaming Expression. It's
only relevant in Cloud mode.
It provides a location where users can place files and Streaming Expressions
can read them. You might want to do this for data loading or to support a
hybrid analytics system where some data is in the index and some data is in
flat files.
> 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: [email protected]
For additional commands, e-mail: [email protected]