private static IDictionary <SchemaDescriptor, IndexProxy> IndexesByDescriptor(LongObjectMap <IndexProxy> indexesById) { return(indexesById.toMap(indexProxy => indexProxy.Descriptor.schema(), Functions.identity())); }