Return-Path: X-Original-To: apmail-lucene-solr-user-archive@minotaur.apache.org Delivered-To: apmail-lucene-solr-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D815B18612 for ; Tue, 29 Dec 2015 18:08:17 +0000 (UTC) Received: (qmail 31090 invoked by uid 500); 29 Dec 2015 18:08:14 -0000 Delivered-To: apmail-lucene-solr-user-archive@lucene.apache.org Received: (qmail 31020 invoked by uid 500); 29 Dec 2015 18:08:14 -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 31008 invoked by uid 99); 29 Dec 2015 18:08:13 -0000 Received: from Unknown (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Dec 2015 18:08:13 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 5DE2D18050C for ; Tue, 29 Dec 2015 18:08:13 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.88 X-Spam-Level: ** X-Spam-Status: No, score=2.88 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-us-east.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id JmIlMPhIvXa8 for ; Tue, 29 Dec 2015 18:08:07 +0000 (UTC) Received: from mail-lf0-f51.google.com (mail-lf0-f51.google.com [209.85.215.51]) by mx1-us-east.apache.org (ASF Mail Server at mx1-us-east.apache.org) with ESMTPS id C7E2B439C9 for ; Tue, 29 Dec 2015 18:08:06 +0000 (UTC) Received: by mail-lf0-f51.google.com with SMTP id y184so215666432lfc.1 for ; Tue, 29 Dec 2015 10:08:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=dWVQIea+vMW4gCujgmwTKLp3VPQAB0/oZ4vpoOjsMTk=; b=acxTpUdwn6E02PB+Lc/KIFqDcPOvsgYO7IV/JM0ym8qaS9A5r/qY+l56PYKFoKIapY cH95a7IKzviQQpx1HLqXzecnPSkO3eorVY6GjfFU5wLoXNYHQQSJv0EA4T4Ohe9+6fJI 0z1BahChy7548Osy1h1/gF32g5sbtUOLqd8moA+pVe5v5v8bMEPX+a5+ksUrWFKo7/gG BEp1ejHHkbB2/2FRptFtO8Zb384AdEE1eCSzRF6NRANJnH5gXOhPZVOxQZS2M3q/ykNW 3wjcRdna8PFJL/ySugxIpTqy4fgDFVRquNwhaItfA7lN64+OW17dKQJeyZbujPnmHCXG Q5Cg== MIME-Version: 1.0 X-Received: by 10.25.80.204 with SMTP id e195mr22652572lfb.133.1451412480528; Tue, 29 Dec 2015 10:08:00 -0800 (PST) Received: by 10.112.158.69 with HTTP; Tue, 29 Dec 2015 10:08:00 -0800 (PST) In-Reply-To: References: Date: Tue, 29 Dec 2015 21:08:00 +0300 Message-ID: Subject: Re: Changing Solr Schema with Data From: Salman Ansari To: solr-user@lucene.apache.org Content-Type: multipart/alternative; boundary=001a114052ea531ccf05280d4ddd --001a114052ea531ccf05280d4ddd Content-Type: text/plain; charset=UTF-8 Thanks guys for your responses. @Shalin: Do you have a documentation that explains this? Moreover, is it only for Solr 5+ or is it still applicable to Solr 3+? I am asking this as I am working in a team and in some of our projects we are using old Solr versions and I need to convince the guys that this is possible in the old Solr as well. Thanks for your help. Regards, Salman On Tue, Dec 29, 2015 at 9:44 AM, Shalin Shekhar Mangar < shalinmangar@gmail.com> wrote: > Adding new fields is not a problem. You can continue to use your > existing index with the new schema. > > On Tue, Dec 29, 2015 at 1:58 AM, Salman Ansari > wrote: > > You can say that we are not removing any fields (so the old data should > not > > get affected), however, we need to add new fields (which new data will > > have). Does that answer your question? > > > > > > Regards, > > Salman > > > > On Mon, Dec 28, 2015 at 9:58 PM, Alexandre Rafalovitch < > arafalov@gmail.com> > > wrote: > > > >> Is the schema change affects the data you want to keep? > >> ---- > >> Newsletter and resources for Solr beginners and intermediates: > >> http://www.solr-start.com/ > >> > >> > >> On 29 December 2015 at 01:48, Salman Ansari > >> wrote: > >> > Hi, > >> > > >> > I am facing an issue where I need to change Solr schema but I have > >> crucial > >> > data that I don't want to delete. Is there a way where I can change > the > >> > schema of the index while keeping the data intact? > >> > > >> > Regards, > >> > Salman > >> > > > > -- > Regards, > Shalin Shekhar Mangar. > --001a114052ea531ccf05280d4ddd--