pub type ExpandedDocument<J, T> = HashSet<Indexed<Object<J, T>>>;
Result of the document expansion algorithm.
It is just an alias for a set of (indexed) objects.