reym
ProjectionsSchemaField

@fullTextSearch

Use the @fullTextSearch to enable full text search (fuzzy search) on a field.

This directive requires the @searchable directive to be enabled on the projection. @searchable

Example

user.graphql
type User @upsertOn(...) @searchable {
    name: String! @fullTextSearch
}

In this case, the name field will be available for full text search via typesense.

On this page