gsmiller edited a comment on pull request #264:
URL: https://github.com/apache/lucene/pull/264#issuecomment-963639978


   I've just updated the PR with an attempt at maintaining backwards 
compatibility with older indexes. So any index created with Lucene 10 or later 
will use the new numeric doc values format, but indexes created with Lucene 9 
or earlier will use the binary format. If the index already exists and was 
created with Lucene 9 or earlier, the binary format will continue to be used 
(even if force merging). To get the new format, users will have to re-create 
the index.
   
   My proposal (which you'll see in the `TODO`s and `@Deprecated` annotations) 
would be to use the new format in Lucene 10 and beyond, and remove support for 
the older format when we get to Lucene 11.
   
   As a next step, I'm going to look into writing some explicit back-compat 
tests (as Mike suggests). I'll update here when I've done so, but welcome any 
feedback to this back-compat approach in the meantime. Nice to finally get back 
to this after getting busy with some other work.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to