E.g I have 1 000 000 hotels in my system, and just 100 restaurants.
@filter(type(Restaurants))
would be a bottleneck or not? That would be 1 million internal IF checks that dgraph would do, just to check if a node is a restaurant. or not?
i didnt understood that right because of my english - you buddy mean that it is not a good practice to have 3 index’ (one for restaurants one for hotels and one for both)? yea it would a waste of resources, but better performance would be gained or not?