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: u...@thetaphi.de > -----Original Message----- > From: brahmam <sreerama.n...@gmail.com> > 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-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org