solr-node-client
solr-node-client copied to clipboard
how to create Core in solr?
I am new in solr. I want to manage solr core using solr apis. How can i manage (create core) using this?
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 open to a PR that implements the full set of CoreAdmin API commands? (or the start of the full set!)
Maybe we can start a discussion about this.
@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.
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 Awesome, I'll put something together soon!