Re: LongPoint.newRangeQuery results differ from LegacyNumericRangeQuery.newLongRange

2017-07-25 Thread Nuno Oliveira
Thank you for your answer Chris. What I did was to get all the Documents from the old indexes, and loop the existingDocuments, then I replaced the "date" field by the same values but created with LongPoints. Something like this: for (Document existingDocument : existingDocuments) { Docume

Re: LongPoint.newRangeQuery results differ from LegacyNumericRangeQuery.newLongRange

2017-07-24 Thread Chris Hostetter
The Points data structures are completley different and distinct from the Term Index structures used by LegacyNumeric fields -- just having hte backwards codex (or using merges to convert indexes to the new index format) isn't enough -- you have to reindex. -Hoss http://www.lucidworks.com/

LongPoint.newRangeQuery results differ from LegacyNumericRangeQuery.newLongRange

2017-07-24 Thread Nuno Oliveira
Hi, I hope someone can help me. I have a project which uses Lucene and I have been upgrading it from version 4.10.4 to 6.6.0, so I upgraded my indexes which were created in 4.10.0, using the terminal, to version 5.0.0 like the migration guide tells. Due to the upgrade I changed LegacyNumericRange