NOTE: This is not a perfect simulation of the 3.x format, but its close. Particularly, indexes generated with this codec cannot actually be read with Lucene 3.x