You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Hooman Mozaffari (JIRA)" <ji...@apache.org> on 2013/08/12 14:52:52 UTC

[jira] [Commented] (SOLR-791) Allow to submit config and schema when creating a new core

    [ https://issues.apache.org/jira/browse/SOLR-791?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13736825#comment-13736825 ] 

Hooman Mozaffari commented on SOLR-791:
---------------------------------------

As an alternative you can extend ??CoreAdminHandler?? class, overwrite ??handleCustomAction?? method and implement the extra functionality. 

In Solr 4.4.0 and later make sure you have introduced your custom core admin handler by setting up the following attributes in ??solr.xml??:

{code:xml}
<str name="sharedLib">[location of your shared libraries including the jar file containing your new admin handler class]</str>
<str name="adminHandler">[fully qualified name of your new admin handler class]</str>
{code}

                
> Allow to submit config and schema when creating a new core
> ----------------------------------------------------------
>
>                 Key: SOLR-791
>                 URL: https://issues.apache.org/jira/browse/SOLR-791
>             Project: Solr
>          Issue Type: New Feature
>          Components: clients - java
>    Affects Versions: 1.3
>            Reporter: Gunnar Wagenknecht
>
> Currently it's possible to create cores "remotely" via SolrJ.
> {code}
> CoreAdminRequest.createCore("acore", "acoreinstancedir", adminServer);
> {code}
> However, this process is incomplete because I need to manually log onto the remote server and place a configuration file as well as a schema file into the {{conf/}} folder in the {{acoreinstancedir/}}. It would be great it I can simply submit those files together with the create core request.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org