Hello,
We currently use Percona but to improve the search, we want to delegate this task to Elasticsearch.
We have a videos
table which contains over 4 million recordings.
The search is done on all the fields below linked to the videos
table
videos | producers | actors | categories | tags |
---|---|---|---|---|
title | name | names | names | names |
+12 translations | - | - | +12 traductions | +12 traductions |
We want to know from your experience, what is the best solution to recover the result:
-
Save only the fields that will be used for research on Elasticsearch, do a search by retrieving the IDs then do a second query on the main database to retrieve the information to display to users
-
Save on Elasticsearch all the fields fields that will be used for research and display, make a single request to retrieve all the information
Thank you for your help and advices.