From java-user-return-64199-archive-asf-public=cust-asf.ponee.io@lucene.apache.org Wed Feb 20 02:03:35 2019 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 6377A18060E for ; Wed, 20 Feb 2019 03:03:35 +0100 (CET) Received: (qmail 74869 invoked by uid 500); 20 Feb 2019 02:03:33 -0000 Mailing-List: contact java-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-user@lucene.apache.org Delivered-To: mailing list java-user@lucene.apache.org Received: (qmail 74856 invoked by uid 99); 20 Feb 2019 02:03:33 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Feb 2019 02:03:33 +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 96B88189EBF for ; Wed, 20 Feb 2019 02:03:32 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.299 X-Spam-Level: ** X-Spam-Status: No, score=2.299 tagged_above=-999 required=6.31 tests=[DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=2, KAM_NUMSUBJECT=0.5, RCVD_IN_DNSWL_NONE=-0.0001, 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-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id GNvJrW3OOqwh for ; Wed, 20 Feb 2019 02:03:31 +0000 (UTC) Received: from mail-it1-f172.google.com (mail-it1-f172.google.com [209.85.166.172]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 933EB62418 for ; Wed, 20 Feb 2019 02:03:30 +0000 (UTC) Received: by mail-it1-f172.google.com with SMTP id g137so4853143ita.0 for ; Tue, 19 Feb 2019 18:03:30 -0800 (PST) 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; bh=aRnsvo31XUL+OWMpIvFR9Rh9xCqPBk2IOgTUliRtrgo=; b=LgTB6JiqPez77e+3PLYE/0XYCk/HMSE3NtlOMkxOGqZy87HSdxwiGgXqTsUVj0fkWq oRm6SaAJmX0BRfNNOdtt3A/LnutKjqjxzPkgqVEL7aINWAsPHh3gZ0g5S7uoerMSc0cb 9wXxEvjkrJl9WqbocxXVjGVUXLOdPVJXvpbssG8uBrPz3iNr0mzGp3XauH7c0uktNTeD lkJOJLu0VnnodyfTKpDnE2CcPG5FPDmd2pxv1a8JAnvOFS8wUOlWU0KTLW3g4fJkWzri H1phQxhnYOHwB7jkd+8X5JMgJrJkaT19X3k2CcJsg88nBRSA8GmrgIFxj7kL6fXP1G9R qEzQ== 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; bh=aRnsvo31XUL+OWMpIvFR9Rh9xCqPBk2IOgTUliRtrgo=; b=TebXJVhCinmESXncp85enD9y5z4exN6NqCjvvIvNnSBs6zSIUv4+rBxV18UCZZfIVn jJvSYjtE+aLHX4M8wNFXR9GWbP1aTJTIBpuVU1kVtJczlxDKLx36ZG/xgCivvquSvz0g fRgHfxhBV9mnFKFH0pb3jHfRlWnRfVcVnSWcHlmQ53uOX1w1YLs624lpmC7SfolFnccC FLDLl4kW5El/VOfNTxu5a6WirWh9MY3+tJ+AcwNd10EHxjQkuaxS5Jswws1/NibdJ3c6 47P+tLnlRHxesnZ3pwRikoMylZAfMYPT4X3QmKLLNPsLGFwY0jF33qm0wE0yf8w2fJxJ 3jpg== X-Gm-Message-State: AHQUAubgE90GBFwQY2bwCtFqRwan2mNi2nMaPqvsXB0XX8s6SYgsST2n s684Go+4SYD5zJVzz+H7/XBWEkAA4hugVT4ILQT/YLvj X-Google-Smtp-Source: AHgI3IbXctV+xPPpfK+v7fDO+bQd4bZLBUIa+ok1+FYWbSng3WwgXkgdGrRy5YKC0MADRAIld40AbVe83XKVxQ2V1RA= X-Received: by 2002:a6b:b2c4:: with SMTP id b187mr22576155iof.291.1550628209130; Tue, 19 Feb 2019 18:03:29 -0800 (PST) MIME-Version: 1.0 References: <02f101d4c221$2ae7f160$80b7d420$@thetaphi.de> In-Reply-To: From: brahmam Date: Wed, 20 Feb 2019 07:33:18 +0530 Message-ID: Subject: Re: Migrate from Lucene 5.5.3 to 7.6.0 To: java-user@lucene.apache.org Content-Type: multipart/alternative; boundary="000000000000958192058249c3e5" --000000000000958192058249c3e5 Content-Type: text/plain; charset="UTF-8" Hi, Any guidance on the above points 2&3 will greatly help us to proceed with lucene 7 migration. Thank you in advance! Regards, Sreeram On Thu, 14 Feb 2019, 05:45 brahmam Hi Thank you for sharing the details. > > 1) Is NumericRangeQuery is the only API removed in license 7 when compare > with lucene 5.5.3? > > 2) To do re-index of the existing data with lucene 7, does it support all > scenarios like closed partitions, backed up or archived data etc... Or any > key areas which we need to be cautious to do re-index with lucense 7. > > 3) is any API or guide available to re-index existing data with lucense 7? > > > Regards, > Sreeram > > On Mon, 11 Feb 2019, 21:18 Uwe Schindler >> Hi, >> >> You can't use indexes from Lucene 5.5 with Lucene 7.6. You have to >> reindex with Lucene 7 and use LongPoints instead of NumericField. Lucene 7 >> does not have NumericRangeQuery anymore, so you cannot query old indexes. >> There is no direct migration path, so you have to reindex. >> >> The precisionStep is no longer needed with points (it does this >> automatically in its internal implementation). >> >> Uwe >> >> ----- >> Uwe Schindler >> Achterdiek 19, D-28357 Bremen >> http://www.thetaphi.de >> eMail: uwe@thetaphi.de >> >> > -----Original Message----- >> > From: brahmam >> > Sent: Monday, February 11, 2019 7:10 AM >> > To: java-user@lucene.apache.org >> > Subject: Migrate from Lucene 5.5.3 to 7.6.0 >> > >> > Hi, >> > >> > We want to migrate from lucene 5.5.3 to 7.6.0(current stable version). >> > Could you please help with migration guide if any available for the >> same? >> > >> > *One of the scenario observed:* >> > when used *NumericRangeQuery.newLongRange, *we can pass the precision >> > step >> > as the parameter. >> > But now in 7.6.0, we need to use LongPoint, but no method available >> which >> > can take the precision as parameter. >> > >> > Could you please advice how to overcome this migration issue? >> > >> > Regards, >> > Sreeram >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org >> For additional commands, e-mail: java-user-help@lucene.apache.org >> >> --000000000000958192058249c3e5--