You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-dev@lucene.apache.org by "Gunnar Wagenknecht (JIRA)" <ji...@apache.org> on 2008/09/26 20:53:44 UTC

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

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.
-
You can reply to this email to add a comment to the issue online.


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

Posted by "Hoss Man (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SOLR-791?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12635803#action_12635803 ] 

Hoss Man commented on SOLR-791:
-------------------------------

This doesn't seem like something that should be a built in feature of Solr ... userswho want to be able to remotely install config files should use WebDAV or other tools designed for such a purpose.

> 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.
-
You can reply to this email to add a comment to the issue online.


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

Posted by "Gunnar Wagenknecht (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SOLR-791?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12635825#action_12635825 ] 

Gunnar Wagenknecht commented on SOLR-791:
-----------------------------------------

Hmm, but why is it possible to setup cores remotely? It sounds unreasonable to install, setup and maintain a separate systemto allow WebDAV just for uploading configuration files.  

It would be easier if I can make a single POSTrequest  to setup & create a new core. This would be a single, atomic request and avoids a second system which helps keeping the operational costs under control.



> 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.
-
You can reply to this email to add a comment to the issue online.