Fulltext search across multiple fields

Hello @amaster507 .
We had the same issue and even with running these queries at the same time it was not so efficient. We gave it a try and used elastic search experimentally and the performance on full text search massively improved and at the same time we were able to search all fields we want.
Also I should allude to complexities that might come to you, like syncing data of elastic search with dgraph.

Another point which I should highlight is that when you add nodes to elastic search your query time decreases. Imagine you have 1M users and you want to do full-text search, If you have one node then the query time is 10s. You can decrease that to 5s by adding an exact similar node. As far as I’m concerned this is not possible with dgraph because they shard predicates.

1 Like