Is the MySQL: inversion index automatically generated by MySQL or does it need to be generated manually?

see the query on the web that is similar to name like"% key", where the name column builds an index. If you want to go to the index, you can use

where reverse(name) like reverse("%key")

to my surprise, name builds an index, but reverse (name) doesn"t build an index. Does MySQL generate it automatically?
or do you need to create a column manually

like this?

    alter table add column reverse_name varchar(10) as (reverse(name));
    create index on reverse_name;


Mar.11,2021

this is an optimization of MySQL because reverse ('% key') = 'yek%' , while the query like' yek%' is indexed.


@ oraoto

clipboard.png
can I write down the specific implementation process? Mine is still not indexed.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e45d24-43ade.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e45d24-43ade.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?