Apollo Federation Gateway Unknown Directive error @search

Hi,

Apollo Federation is giving errors because search directive is not defined in the schema provided.
On receiving GraphQL schema from Users, Dgraph generates a schema which adds definition for all Dgraph specific directives. This generated schema can then be used with Apollo Federation.

Linking related discuss post: Dgraph Directives reference (for other tools)?