I'm thinking of the following idea: Use the ElasticSearch features to do complex searches instead of directly querying MySQL using many where
. If I were to use MYSQL I would have to create many indexes.
insert
to my table I also go through the ElasticSearch log, I would do this complex query in ElasticSerch, and I would get the id
's to query MySQL for example:
SELECT * FROM table WHERE id IN (1,4,8,9,21,54,87,...)
Would this be feasible?