RE: Solrj-collection creation

2016-02-10 Thread Davis, Daniel (NIH/NLM) [C]
);// TODO: edit response.setResponse(client.request(request)); -Original Message- From: Shawn Heisey [mailto:apa...@elyograg.org] Sent: Wednesday, February 10, 2016 11:24 AM To: solr-user@lucene.apache.org Subject: Re: Solrj-collection creation On 2/10/2016 6:55 AM

Re: Solrj-collection creation

2016-02-10 Thread Shawn Heisey
On 2/10/2016 6:55 AM, vidya wrote: > I want to connect to solrCloud server from java program using > zookeeperHost variable. I know that data can be indexed and searched from a > collection using java program. but Can i able to create a collection > initially from java program? Yes. Use the Clo

Re: Solrj-collection creation

2016-02-10 Thread Erick Erickson
Since you're using SolrJ anyway just use the CollectionsAdminRequest. You can see examples of it's use in the test cases, take a look at CollectionsApiSolrJTests.. Best, Erick On Wed, Feb 10, 2016 at 5:55 AM, vidya wrote: > Hi > > I want to connect to solrCloud server from java program using >