Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 88923200B4F for ; Tue, 26 Jul 2016 22:33:15 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 870CE160AA4; Tue, 26 Jul 2016 20:33:15 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id A666B160AA2 for ; Tue, 26 Jul 2016 22:33:14 +0200 (CEST) Received: (qmail 92047 invoked by uid 500); 26 Jul 2016 20:33:13 -0000 Mailing-List: contact solr-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: solr-user@lucene.apache.org Delivered-To: mailing list solr-user@lucene.apache.org Received: (qmail 92034 invoked by uid 99); 26 Jul 2016 20:33:12 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Jul 2016 20:33:12 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 1376B1A1037 for ; Tue, 26 Jul 2016 20:33:12 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.02 X-Spam-Level: X-Spam-Status: No, score=-0.02 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=newsrx-com.20150623.gappssmtp.com Received: from mx2-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id og4VWTfMDCUy for ; Tue, 26 Jul 2016 20:33:09 +0000 (UTC) Received: from mail-yw0-f176.google.com (mail-yw0-f176.google.com [209.85.161.176]) by mx2-lw-eu.apache.org (ASF Mail Server at mx2-lw-eu.apache.org) with ESMTPS id 372765FBB6 for ; Tue, 26 Jul 2016 20:33:09 +0000 (UTC) Received: by mail-yw0-f176.google.com with SMTP id j12so31630810ywb.2 for ; Tue, 26 Jul 2016 13:33:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=newsrx-com.20150623.gappssmtp.com; s=20150623; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding; bh=2N6u28qsJdG213rrnzOdye4bLlU4yYNVe0E/c8Yyu2I=; b=nIzgHsAEj9hEggUqJQdXqWUdIZiYkHIfF8MdTbMcJDfvIIURZMHOaPncPodQGTk2TT ZO8J49Bu1H9XY7ZQkzOVcwaAe59SdyK5nxs0rgqlUWI2hb6cscuiK5rvZ8iAjx1K0P4q a+yTgsIoXD6QzlGrzoXNx7ldHcluEp+liUSSqVvD72EdEzqluNZARlqNFEekQHRS1SN3 29PhpFje7jtbIg8bVxUCoAyn5e9VIK0yx86WzW5Smz9JgJcVgyohThTL3bBoyU6fIAqM KMLrmjcsnVYHjd9ExE1jAxotzF1uP1mfMJPyH7AKjMOul7e7Ek8plnDBZ48NIaun0vnX ln6w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=2N6u28qsJdG213rrnzOdye4bLlU4yYNVe0E/c8Yyu2I=; b=W9GpRu/NzxBZz2zZcxmNSvPxv7zqZNpB+c2QUfhUVuxBcQKapmb8/SARRy90TAT9AA AQSw1QS5KE/5RtPopJYQTpwBYjA+ZGH4OAWZLibqvyU10U0D2gNHeGR9BOhIQn8ktUR7 4h2lI4Tx5vt3fgOG0lAJHiRTfBZAE7sJCCsZimmkdFQ52kBPHA2+Vbp230xeVXfmDd1k avEYgrvpb7O+mCKVTXycABmlrltQ4sf7EjVZnoHu2Zq+LFJe4O64D6X1nH6y0ORTWzqM BA+DxNOGvZ/y+/yKl4fwocFK4f2uwfLcjGF+fUjj04neRbXBE/gf5/CtsHiMHRE/ydrg 31Tw== X-Gm-Message-State: AEkoouuSlS3BHtWVqbeLeCp+H3VY0721behXec7XlegZPy45WtQLjJsbbPLc9XuUqpgqNA== X-Received: by 10.129.77.195 with SMTP id a186mr5493757ywb.88.1469565187904; Tue, 26 Jul 2016 13:33:07 -0700 (PDT) Received: from [192.168.1.65] ([74.231.57.2]) by smtp.gmail.com with ESMTPSA id 139sm1230478ywe.14.2016.07.26.13.33.07 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 26 Jul 2016 13:33:07 -0700 (PDT) Subject: Re: Can't load schema managed-schema: unknown field 'id' To: solr-user@lucene.apache.org References: From: Michael Joyner Message-ID: Date: Tue, 26 Jul 2016 16:33:04 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit archived-at: Tue, 26 Jul 2016 20:33:15 -0000 ok... I downloaded the config for both of my collections and the downloaded managed-schema file shows "id" as defined? But the online view in the UI shows it as not defined? I've tried re-upping the config and nothing changes. -Mike On 07/26/2016 04:11 PM, John Bickerstaff wrote: > @Michael - if you're on Linux and decide to take Alexandre's advice, I can > possibly save you some time. I wrestled with getting the data in and out > of zookeeper a while ago... > > sudo /opt/solr/server/scripts/cloud-scripts/zkcli.sh -cmd upconfig -confdir > /home/john/conf/ -confname collectionName -z 192.168.56.5/solr5_4 > > Explanation: > > sudo /opt/solr/server/scripts/cloud-scripts/zkcli.sh -cmd upconfig = run > the code that sends config files (whatever files you modify)over to > Zookeeper > > -confdir /home/john/conf/ = find the configuration directory here > > -confname collectionName = apply the configuration to this collection name > > -z 192.168.56.5/solr5_4 - find Zookeeper here - and use the solr5_4 > "chroot" which already exists in Zookeeper (If you don't have chroot in > Zookeeper, ignore and don't use the slash) > > > > > > On Tue, Jul 26, 2016 at 1:55 PM, Alexandre Drouin < > alexandre.drouin@orckestra.com> wrote: > >> Other than deleting the collection, I think you'll have to edit the >> manage-schema file manually. >> >> Since you are using SolrCloud you will need to use Solr's zkcli ( >> https://cwiki.apache.org/confluence/display/solr/Command+Line+Utilities) >> utility to download and upload the file from ZooKeeper. >> >> >> Alexandre Drouin >> >> >> -----Original Message----- >> From: Michael Joyner [mailto:michael@newsrx.com] >> Sent: July 26, 2016 3:48 PM >> To: solr-user@lucene.apache.org >> Subject: Re: Can't load schema managed-schema: unknown field 'id' >> Importance: High >> >> Same error via the UI: >> >> Can't load schema managed-schema: unknown field 'id' >> >> >> On 07/26/2016 03:05 PM, Alexandre Drouin wrote: >>> Hello, >>> >>> You may have a uniqueKey that points to a field that do not exists >> anymore. You can try adding an "id" field using Solr's UI or the schema >> API since you are using the managed-schema. >>> >>> Alexandre Drouin >>> >>> -----Original Message----- >>> From: Michael Joyner [mailto:michael@newsrx.com] >>> Sent: July 26, 2016 2:34 PM >>> To: solr-user@lucene.apache.org >>> Subject: Can't load schema managed-schema: unknown field 'id' >>> >>> |Help!| >>> >>> | >>> | >>> >>> |What is the best way to recover from: | >>> >>> Can't load schema managed-schema: unknown field 'id' >>> |I was managing the schema on a test collection, fat fingered it, but now >>> I find out the schema ops seem to altering all collections on the core? >>> SolrCloud 5.5.1 ||| >>> >>> | >>> -Mike||| >>