On 4/30/2013 3:41 PM, Mark Miller wrote:
On Apr 30, 2013, at 2:16 PM, Jan Høydahl <[email protected]> wrote:
More useful in ZK mode would be a simple way to refer to sharing SOME but not
all files from another config set. So if you want the same schema for 10
different cores, they could say something like this in core properties:
schema=cnf://myConf/schema.xml
I don't think that's worth the extra complication myself.
+1 from me on Mark's objection. Having shared files in config sets has
a high "cool" factor, but the more complexity we allow, the more likely
that a user will be confused when they try to understand Solr's
behavior. IMHO we already give users plenty of rope that they can use
to hang themselves.
The entire idea of config sets offers a lot of flexibility. A user who
wants the same schema across many different configs would have to
re-upload all those config sets when they change it, but users with huge
numbers of configs are likely to have existing automation that they can
modify.
One indirect way that a user might have a file shared by multiple config
sets is to have the shared file be a symlink in the on-disk copy. We
need to make sure that Solr follows symlinks when uploading config sets,
rather than store a symlink as a symlink. I have not tried this out to
see what happens currently.
Thanks,
Shawn
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]