[ticket/13238] Do not drop indexes that do not exist from fulltext search

https://tracker.phpbb.com/browse/PHPBB3-13238
Don't get the indexes when not necessary.