I can't figure out from documentation what all these options mean in real world:
$ sh zkcli.sh -cmd upconfig -zkhost <host:port> -confname <name for configset> -solrhome
<solrhome> -confdir <path to directory with configset>
I mean options like -zkhost
, -confname
, -solrhome
and -confdir
. I'm asking this, because I'm not sure, for example, what <host:port>
I should provide for -zkhost
option, when my Zookeeper
configuration file has this contents:
....
clientPort=2181
server.1=127.0.0.1:2222:2223
server.2=127.0.0.1:3333:3334
...
Should it be -zkhost 127.0.0.1:2181
or -zkhost 127.0.0.1:2181,127.0.0.1:2182,...
. <host:port>
in documentation looks rather vague and does not seem to be self-explanatory, when it comes to real world cases.
Besides, I'm not sure what -solrhome
option means. Should it point to the root folder where Solr
with all its sources is located or should it point to its bin
directory - I don't know. Again documentation is rather silent and does not provide a concrete example. etc, etc.
I wish someone could share a real world example and explain what all these options mean and where they point to. And I hope someone can provide an example (which takes into account the first example with real world options) which demonstrates how to create a core/collection, using rest api. That would be a tremendous help for many newbies. Thanks!