Return-Path: X-Original-To: apmail-lucene-dev-archive@www.apache.org Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 60E7A1840F for ; Thu, 24 Sep 2015 19:46:07 +0000 (UTC) Received: (qmail 31200 invoked by uid 500); 24 Sep 2015 19:46:05 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 31122 invoked by uid 500); 24 Sep 2015 19:46:05 -0000 Mailing-List: contact dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@lucene.apache.org Delivered-To: mailing list dev@lucene.apache.org Received: (qmail 30969 invoked by uid 99); 24 Sep 2015 19:46:05 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Sep 2015 19:46:05 +0000 Date: Thu, 24 Sep 2015 19:46:05 +0000 (UTC) From: "Mike Mallett (JIRA)" To: dev@lucene.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (SOLR-8093) `bin/solr create_core` syntax doesn't match documentation for '-d' option MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/SOLR-8093?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mike Mallett updated SOLR-8093: ------------------------------- Component/s: documentation > `bin/solr create_core` syntax doesn't match documentation for '-d' option > ------------------------------------------------------------------------- > > Key: SOLR-8093 > URL: https://issues.apache.org/jira/browse/SOLR-8093 > Project: Solr > Issue Type: Improvement > Components: documentation > Affects Versions: 5.3 > Reporter: Mike Mallett > > I'm attempting to create a new Solr Core using an existing set of config files. Specifically these are being taken from the Drupal module search_api_solr-7.x-1.9 in this tarball: http://ftp.drupal.org/files/projects/search_api_solr-7.x-1.9.tar.gz > The config dir located in the tarball is: search_api_solr/solr-conf/5.x/ > This works fine, as I was able to copy this config directory in the shell then use the Solr Admin UI to create the core. No errors were reported in that methodology. > However, I'm reading the help documentation included by executing the command `bin/solr create_core -help` which states: > "-d Configuration directory to copy when creating the new core, built-in options are: > basic_configs: Minimal Solr configuration > data_driven_schema_configs: Managed schema with field-guessing support enabled > sample_techproducts_configs: Example configuration with many optional features enabled to demonstrate the full power of Solr > If not specified, default is: data_driven_schema_configs > Alternatively, you can pass the path to your own configuration directory instead of using one of the built-in configurations, such as: bin/solr create_core -c mycore -d /tmp/myconfig" > So I tried the following command: > bin/solr create_core -c testcore -d /opt/drupal/search_api_solr-7.x-1.9/solr-conf/5.x > This resulted in: > ERROR: Error CREATEing SolrCore 'testcore': Unable to create core [testcore] Caused by: /var/solr5/data/testcore/data > I was instructed on IRC that I am using the command incorrectly and that valid options for '-d' are only "basic_configs", "data_driven_schema_configs", or "sample_techproducts_configs" > I am unable to create a core from the command line, and I don't know what the process should look like. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org For additional commands, e-mail: dev-help@lucene.apache.org