Understanding ES812Postings Codec Vs Lucene99 Codec

Hi Everyone,

I was going through the changes made in elasticsearch to tackle lucene's new posting format that uses FOR instead of PFOR and got to know that elasticsearch made its own PFOR codec ES812Postings.

My doubt is LiveIndexWriterConfig in lucene still loads default codec Lucene99, is Elasticsearch expecting postings to be written by multiple codecs or it will always be written by ES812Postings codec. Although it is clear elasticsearch prefers PFOR but It is not very clear what is the behaviour expected just by reading the code.