You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by GitBox <gi...@apache.org> on 2021/11/08 22:41:36 UTC

[GitHub] [lucene] gsmiller edited a comment on pull request #264: LUCENE-10062: Switch to numeric doc values for encoding taxonomy ordinals (instead of custom binary format)

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 10 or earlier will use the binary format. If the index already exists and was created with Lucene 10 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: issues-unsubscribe@lucene.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org