From solr-user-return-144292-archive-asf-public=cust-asf.ponee.io@lucene.apache.org Mon Oct 8 03:07:18 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 5E18E18064E for ; Mon, 8 Oct 2018 03:07:18 +0200 (CEST) Received: (qmail 2263 invoked by uid 500); 8 Oct 2018 01:07:16 -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 2251 invoked by uid 99); 8 Oct 2018 01:07:15 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Oct 2018 01:07:15 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 4E1ADC00DB for ; Mon, 8 Oct 2018 01:07:15 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.112 X-Spam-Level: X-Spam-Status: No, score=-0.112 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001, T_DKIMWL_WL_MED=-0.01] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id XZEbK55tUKIl for ; Mon, 8 Oct 2018 01:07:14 +0000 (UTC) Received: from mail-lj1-f177.google.com (mail-lj1-f177.google.com [209.85.208.177]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 09C5C5F387 for ; Mon, 8 Oct 2018 01:07:13 +0000 (UTC) Received: by mail-lj1-f177.google.com with SMTP id j4-v6so12498300ljc.12 for ; Sun, 07 Oct 2018 18:07:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :content-transfer-encoding; bh=Diu2XrSR5dF5ccDaIeqFNE/itYJWqTXH5t+EDgrlK70=; b=Ch6yKaNMVInQdJVjA70k6fbX0jMmpPccB9euzsNbyxeabJhsOURipHj1SodTIMCkrJ 5oYBRf6j5OMbWJ3YOSuvCgLkvDa3ONBVCxQ4glmWI1UydTfAlZTT2ocKd8JWBRq7Men3 kirC5lPU6pQ/M7M9MS/fu8offvTRJe7CDFJWLQaHhcyIDhVdUAHEoH6Qps1/cBCZpxW6 7tEG/IPWAaOwYaa5YzBJffisg9SOYg3u4FN9yXq7Mtcuhn+hQm4fpK8z7x8AxZIi6sL8 nXSpYlyEp2fetP5NtGfrVXjoYoLWsq9vRRuLBepYjEYVeXfDmUhdFZwjpFuupyTvkTIB E13A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:content-transfer-encoding; bh=Diu2XrSR5dF5ccDaIeqFNE/itYJWqTXH5t+EDgrlK70=; b=mgKE29F/LyjO2sRwSqLFFFd8Q97j4qlTnEq4ipldX2lrAhJAXHdnQ5ZvnklMXjY4Uy VwTh850PjxpKrcFqRRNgy2DttH44fMWrOESxxf43uTFgw6KTyER5mVOUe1v7oyuThQsy fDiAgz1FXh73xGJgc9stMP1Jx4f96bMh+eJhXBqtDZD0ETPIZbOxL/tIUl4HH0cXf4Lz D3NhjQfjnJJBnmMR8iCpS7V53zecTgCQhTNbhenV1dJX43vskSOv1QXVH9u8wfJCpCWV /E/h1ZXJIClk8Yc3rjQ1DTU+VZ9eAle+pQ9bKZ+Lq7BCzYBpUCrAwQnavPiGI0nfNbhU vEzQ== X-Gm-Message-State: ABuFfogRAmfoIpFz0ILkBsqIjW/wyAxYaXM6JG5eWdAKw0XzlRaZssP5 3SAlOiOUS6P0S/3AWTCNE9+fDwpCBh9ZS69oYCkqeg== X-Google-Smtp-Source: ACcGV62s1N4ZUrjOpArh+yOIGCNeK/akS95zz4sCO6GVMDoheMM86WNaEsgUWoxYEdWQyT6ZAu55c7b8oCdJ3pwfehE= X-Received: by 2002:a2e:240b:: with SMTP id k11-v6mr14224407ljk.139.1538960826689; Sun, 07 Oct 2018 18:07:06 -0700 (PDT) MIME-Version: 1.0 References: <1538736099417-0.post@n3.nabble.com> <25204C18-F28E-431F-B4B8-1EC7823F56BF@cominvent.com> In-Reply-To: <25204C18-F28E-431F-B4B8-1EC7823F56BF@cominvent.com> From: Erick Erickson Date: Sun, 7 Oct 2018 18:06:29 -0700 Message-ID: Subject: Re: Apache SOLR upgrade from 5.2.1 to 7.x To: solr-user Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable IIUC the 5x->7x upgrade won't immediately fail like a 6x->8x upgrade would, but neither is it really expected to produce the results you expect due to differences in the index formats. On Sat, Oct 6, 2018 at 1:31 PM Jan H=C3=B8ydahl wro= te: > > Shawn, my impression is that you WILL be able to upgrade a 5.x index to 6= .x and then to 7.x for use with 7.x. So your wiki page is a bit too strict = here. > But if you ever want to upgrade to 8.x, that version will require the "fi= rst created" version to be 7.0 or later, so you'll need a full reindex. > See SOLR-12281 . > > I'd also recommend to plan for a full re-index, and also upgrade to new f= ield types etc at the same time. > Feel free to give this tool https://github.com/cominvent/solr-tools/tree/= master/upgradeindex a spin in your test environtment and then just test whether 7.5= works on that index :) > > -- > Jan H=C3=B8ydahl, search solution architect > Cominvent AS - www.cominvent.com > > > 5. okt. 2018 kl. 16:49 skrev Shawn Heisey : > > > > On 10/5/2018 4:41 AM, padmanabhan1616 wrote: > >> 1. We cannot upgrade directly from 5.x to 7.x instead upgrade to 5.5 t= hen > >> upgrade to 7 as there is major index format level changes taken place = in 5.5 > >> or later version. > > > > Solr 7.x cannot read indexes from 5.5. It can only read indexes that w= ere *fully* constructed by versions back to 6.0.0. > > > >> 1. Use index upgrade tool which can allow to upgrade all old indexes t= o new > >> index format then we can upgrade to 7.x version easily. > > > > We have been advised by Lucene experts that if a version that's at leas= t two major versions before the target version has *EVER* touched the index= , there's no guarantee that the index will work even after upgrading throug= h the major versions one by one. The compatibility guarantee only goes back= one major version. > > > > I would strongly recommend with ANY upgrade that you always build the i= ndex from scratch. That produces the best results. > > > > This is becoming a frequently asked question, so I have built a wiki pa= ge to answer it: > > > > https://wiki.apache.org/solr/VersionCompatibility > > > > Thanks, > > Shawn > > >