@DavidCarlisle I want to change the index in a split index environment, slightly altered to enclose arraystretch of the tabular as an argument to makeindex. So \index{tableindex}{#1}{#2}{#3}{#4}{#5}{#6} and create an index item in a longtable format so \begin{longtable}{<arguments etc.>}
<some header>
\endhead
#1 & #2 & #3 & #4 & #5 \tabularnewline (next item)
#1 & #2 & #3 & #4 & #5 etc.
#6 would be a special case which it easiest to code for a case by case scenario (not recursive - I doubt makeindex has the customizability for it given you mentioned it's lack thereof), it'll determine the …