solr-node-client icon indicating copy to clipboard operation
solr-node-client copied to clipboard

how to create Core in solr?

Open rajeshpanwar opened this issue 9 years ago • 6 comments

I am new in solr. I want to manage solr core using solr apis. How can i manage (create core) using this?

rajeshpanwar avatar Apr 06 '16 06:04 rajeshpanwar

Hi there,

At the time of writing this is out of the scope of the project, but you are welcome to submit a pull request for the feature, what I can do is point you to this docs in solr about creation cores using https requests.

ColadaFF avatar Apr 24 '16 04:04 ColadaFF

@ColadaFF open to a PR that implements the full set of CoreAdmin API commands? (or the start of the full set!)

nathanmarks avatar Jun 29 '16 17:06 nathanmarks

Maybe we can start a discussion about this.

ColadaFF avatar Jun 29 '16 18:06 ColadaFF

@ColadaFF 100%

Are there any reasons (other than maintenance concerns) that you have against implementing the core admin API functionality?

For those of us not using SolrCloud -- we don't have collections, just cores. As it stands I can only get part of the functionality I need from the library, right now my options are to:

A) Fork + PR B) Fork C) Implement those calls separately.

I'd much rather do A, and I would only submit a PR with test coverage included.

nathanmarks avatar Jun 29 '16 21:06 nathanmarks

That sounds like a great proposition @Nathan.

The historical reason for a block to that API is that this library was designed to be a "Query client", not an "Admin client". But I'd say that can't hurt. So I think a PR is definitely welcome.

On Thu, Jun 30, 2016 at 4:07 AM Nathan [email protected] wrote:

@ColadaFF https://github.com/ColadaFF 100%

Are there any reasons (other than maintenance concerns) that you have against implementing the core admin API functionality?

For those of us not using SolrCloud -- we don't have collections, just cores. As it stands I can only get part of the functionality I need from the library, right now my options are to:

A) Fork + PR B) Fork C) Implement those calls separately.

I'd much rather do A, and I would only submit a PR with test coverage included.

— You are receiving this because you are subscribed to this thread.

Reply to this email directly, view it on GitHub https://github.com/lbdremy/solr-node-client/issues/183#issuecomment-229489120, or mute the thread https://github.com/notifications/unsubscribe/ABeXpDJbeLibCQRZQeG6vxdQdSPCse9dks5qQt6UgaJpZM4IAxkI .

nicolasembleton avatar Jun 30 '16 03:06 nicolasembleton

@nicolasembleton Awesome, I'll put something together soon!

nathanmarks avatar Jun 30 '16 12:06 nathanmarks