github.com/dgraph-io/dgraph@v1.2.8/graphql/schema/testdata/schemagen/input/searchables-references.graphql (about)

     1  type Author {
     2  	id: ID!
     3  	name: String! @search(by: [hash])
     4  	dob: DateTime  # Have something not search
     5  	posts: [Post]  # This should have arguments added for a filter on Post
     6  }
     7  
     8  type Post {
     9  	postID: ID!
    10  	title: String! @search(by: [term, fulltext])
    11  	text: String @search(by: [fulltext, term])
    12  	datePublished: DateTime   # Have something not search
    13  }