I plan to implement a database search through the website - I know that there is a full-text search offered by mysql, but it turns out that it is not supported by the innodb engine (which I need to support transactions). Other uses for sphinx or similar indexing applications. However, they require some re-factoring of the database structure and may take longer to implement than mine.
So, I decided to include each table and merge all its corresponding columns into the newly added QUERY column. This query column should also be typed from a column of other relevant tables.
This is achieved, I will use the "how" clause in the query column of the table for the search to search for results for specific domains (a group of related tables).
Since my database will not be too large (<1mn rows in the largest table), I expect reasonable query times.
Does anyone agree with this method or has a better idea?
source
share