Apollo Federation Gateway Unknown Directive error @search

I am applying the graphql schema to dgraph by posting it to http://localhost:8080/admin/schema