i want to know how to create a optimezed word search when the table has more than 1 million records