spec for merging three indexes