I have a request that runs every time a website loads. This query combines three different term fields and about 3 million documents, and therefore it takes 6-7 seconds to complete. Data does not change so often, and the relevance of the result is not critical.
I know that I can use an alias to create something "View", as in the RDMS world. Is it also possible to populate it so that the query result is cached? Is there a way to cache other methods in this scenario, or do I need to create an additional index for aggregated data and update it from time to time?
source share