Should i create a tree-like structure for the domains (something like: com -> example -> test), and index every item in it?
Hi Dani,
The best
way is relative to the way your application interacts with the data.
Having said that, storing each domain levels into a separate fields may work well for the use case. Especially if the application often queries based on the top level and the second level domain only. Is there a reason that prevents you from trying this document schema ?
Regards,
Wan.