NeonN
Neon2y ago
2 replies
awake-maroon

Is @@fulltext feature can be used?

Hello! This is my schema file:

generator client { provider = "prisma-client-js" previewFeatures = ["fullTextSearch","fullTextIndex"] } datasource db { provider = "postgresql" url = env("DATABASE_URL") } model Category { id String @id @db.Uuid @default(dbgenerated("gen_random_uuid()")) name String companions Companion[] } model Companion { id String @id @db.Uuid @default(dbgenerated("gen_random_uuid()")) userId String userName String src String name String @db.Text description String instruction String @db.Text seed String @db.Text createdAt DateTime @default(dbgenerated("now()")) updatedAt DateTime @updatedAt category Category @relation(fields: [categoryId], references: [id]) categoryId String @@index([categoryId]) @@fulltext([name]) }

The only error I get is because of @@fulltext([name])
Error parsing attribute "@@fulltext": Defining fulltext indexes is not supported with the current connector.

I tried to put previewFeatures = ["fullTextSearch","fullTextIndex"] but I still got the same issue

Is Neon really don't support @@fulltext Search? Thank you! Best wishes
Was this page helpful?