right… so it’d be good to PR it to accept arrays with numeric keys and if so, use the class from the class option

because ::with() would always apply the versioned variant

from memory the bug was something like that if you had indexed sitetree (versioned) then you couldn't index anything that wasn't versioned

the withCommon method was added because ::with() would use all available search variants, whereas withCommon will only use variants that apply to one of the classes in your data set

that stuff was a different thing, but that might be what's causing your problem