You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Dean Ericson <de...@gmail.com> on 2015/05/27 19:06:57 UTC
Start Scripts
Does anyone have any simple SOLR startup scripts that they're willing to
share? I am looking for a script that creates a custom collection and
copies all necessary config file accordingly.
Thanks in advance,
Dean
Re: Start Scripts
Posted by Upayavira <uv...@odoko.co.uk>.
I wonder if, Dean, you are using an older. Take a look in the bin/
directory of any newer Solr, preferably 5.x and you'll see quite
substantial start scripts.
Upayavira
On Wed, May 27, 2015, at 07:11 PM, Erick Erickson wrote:
> Hmmm, this is a little confused I think.
>
> bq: copies all necessary config file accordingly
>
> This is handled for you, with the caveat that you have to push the
> configs to Zookeeper as a separate step with the zk client. Once
> that's done, just use the Collections API to create the collection.
>
> See the "Zookeeper CLI examples" in the ref guide (and I _strongly_
> recommend you download the full PDF, see:
> https://cwiki.apache.org/confluence/display/solr/Apache+Solr+Reference+Guide,
> the upper left corner has a link to allow you to download the whole
> thing as a PDF with links to older versions as well). Then the
> "Collections API", "CREATE" command.
>
> Best,
> Erick
>
> On Wed, May 27, 2015 at 10:06 AM, Dean Ericson <de...@gmail.com>
> wrote:
> > Does anyone have any simple SOLR startup scripts that they're willing to
> > share? I am looking for a script that creates a custom collection and
> > copies all necessary config file accordingly.
> >
> > Thanks in advance,
> > Dean
Re: Start Scripts
Posted by Erick Erickson <er...@gmail.com>.
Hmmm, this is a little confused I think.
bq: copies all necessary config file accordingly
This is handled for you, with the caveat that you have to push the
configs to Zookeeper as a separate step with the zk client. Once
that's done, just use the Collections API to create the collection.
See the "Zookeeper CLI examples" in the ref guide (and I _strongly_
recommend you download the full PDF, see:
https://cwiki.apache.org/confluence/display/solr/Apache+Solr+Reference+Guide,
the upper left corner has a link to allow you to download the whole
thing as a PDF with links to older versions as well). Then the
"Collections API", "CREATE" command.
Best,
Erick
On Wed, May 27, 2015 at 10:06 AM, Dean Ericson <de...@gmail.com> wrote:
> Does anyone have any simple SOLR startup scripts that they're willing to
> share? I am looking for a script that creates a custom collection and
> copies all necessary config file accordingly.
>
> Thanks in advance,
> Dean