this encoding scheme matches the one used by lucene it has been packaged separately so that others may more easily reuse it without using the rest of bleve