Whenever I try adding a spatial index to a feature layer stored in the memory workspace, I get an error stating that such a feature type/workspace is not supported.
Is there a way around this, as my model uses iteration and select by location along with other calculations on a heavy feature layer, and using memory really speeds the process up, but its still not fast enough for prototyping. I've also read that spatial indexes speed the process up for such situations, so implementing both would be very useful.
Edit: It was pointed out the spatial indexes cannot be assigned to fcs in memory. If there are any suggestions for speeding up the model please let me know, as it seems to have become slower than before. The sub-model for any newcomers 🙂

Thanks,
Taha