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 Sznajder ForMailingList <bs...@gmail.com> on 2015/05/12 10:53:32 UTC

Creating a new collection via solrj

Hi,

I would like to create programmatically a new collection with a given
Schema (the schema.xml file is in my java project under a folder
configuration/, for example)

However, I did not find a solrj example describing these steps.

If one of you could help..

thanks!

Benjamin

Re: Creating a new collection via solrj

Posted by Erick Erickson <er...@gmail.com>.
See the CollectionAdminRequest.createCollection etc.

Best,
Erick



On Tue, May 12, 2015 at 3:53 AM, Sznajder ForMailingList
<bs...@gmail.com> wrote:
> Hi,
>
> I would like to create programmatically a new collection with a given
> Schema (the schema.xml file is in my java project under a folder
> configuration/, for example)
>
> However, I did not find a solrj example describing these steps.
>
> If one of you could help..
>
> thanks!
>
> Benjamin