Return-Path: Delivered-To: apmail-lucene-solr-dev-archive@minotaur.apache.org Received: (qmail 32889 invoked from network); 4 Feb 2010 14:16:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 4 Feb 2010 14:16:50 -0000 Received: (qmail 62881 invoked by uid 500); 4 Feb 2010 14:16:49 -0000 Delivered-To: apmail-lucene-solr-dev-archive@lucene.apache.org Received: (qmail 62814 invoked by uid 500); 4 Feb 2010 14:16:49 -0000 Mailing-List: contact solr-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: solr-dev@lucene.apache.org Delivered-To: mailing list solr-dev@lucene.apache.org Received: (qmail 62660 invoked by uid 99); 4 Feb 2010 14:16:49 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Feb 2010 14:16:49 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Feb 2010 14:16:48 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 005FA234C48D for ; Thu, 4 Feb 2010 06:16:28 -0800 (PST) Message-ID: <2036921261.37101265292988000.JavaMail.jira@brutus.apache.org> Date: Thu, 4 Feb 2010 14:16:28 +0000 (UTC) From: "Mark Miller (JIRA)" To: solr-dev@lucene.apache.org Subject: [jira] Issue Comment Edited: (SOLR-1742) uniqueKey must be string type otherwise "missing core name in path" error is rendered In-Reply-To: <1019564226.5571265022590845.JavaMail.jira@brutus.apache.org> 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-1742?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12829607#action_12829607 ] Mark Miller edited comment on SOLR-1742 at 2/4/10 2:15 PM: ----------------------------------------------------------- Hey Marcin, You should be able to use int (or sint) no problem. When you see the error "missing core name in path", thats often an indication you need to check your logs (especially if you are running single core) - look for the first error, timewise, that you can find. In this case you will see: the QueryElevationComponent requires a String id field. If you remove the QueryElevationComponent/Handler, you should no longer see "missing core name in path" and Solr will start up. - Mark was (Author: markrmiller@gmail.com): Hey Marcin, You should be able to use int no problem. When you see the error "missing core name in path", thats often an indication you need to check your logs (especially if you are running single core) - look for the first error, timewise, that you can find. In this case you will see: the QueryElevationComponent requires a String id field. If you remove the QueryElevationComponent/Handler, you should no longer see "missing core name in path" and Solr will start up. - Mark > uniqueKey must be string type otherwise "missing core name in path" error is rendered > ------------------------------------------------------------------------------------- > > Key: SOLR-1742 > URL: https://issues.apache.org/jira/browse/SOLR-1742 > Project: Solr > Issue Type: Bug > Components: Build > Environment: all > Reporter: Marcin > Fix For: 1.5 > > > How to replicate: > - create index with schema where you uniqueKet is integer > - set your unique key type to integer > - deploy your index > under http://host:8080/solr/admin/ - you will get "missing core name in path" > Workaround: > - change type of your uniqueKet to srting > - undeploy and deploy index > Its quite confusing as 1.5 is not properly reporting errors and you need to be lucky to find that reason on your own. > cheers, > /Marcin -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.