specs for InvertedIndex::Document