Yes, this might be a bit painful for the early adopters. Is there any
sort of magic number or similar where slapd could bail out "sorry, please
slapindex" if given a RE23 format database? Then at least the FAQ-O-Matic
could point out "use 2.4.6 slapcat then upgrade again" or some other
concrete procedure.
In this case, all you'd need is to run "slapindex -qt" to recreate the
relevant indices. (Whether that's actually faster than slapcat/slapadd, I
don't really know. Historically it's been pretty slow...)
I guess we can detect an old format index when it gets referenced, but
currently we don't reference them until an actual search operation comes
along. I.e., it's not something we would normally check at startup time,
and it would be pretty awkward at runtime.