No need to index other than deployment. Here I propose a solution.
Make the default directory in your application say searchdata. Inside this path, separate paths are created for different types of data (for example, for cities, a folder like city_index). Inside the configuration file (your application), specify these paths. Write php scripts so that they read the table data and make the index. These scripts use the config paths to create the index. Write a script wizard that runs all of these scripts.
Run these scripts on your server once. This search continues (use configuration paths to search). (No indexing on first search)
, , ( ) db, . , . , .