Open ondratra opened 2 years ago
Perhaps we can replace the field-level @query with an object-level directive (e. g. '@FullTextQuery' similarly to how TheGraph does that). The rationale is that there will be extra parameters to tune in the future (e.g. language, strict/partial matches etc) that'd translate to different Postgres full-text searches.
It seems that we can't include one entity property in multiple fulltext searches at the moment. An example scenario when this is needed is if we want to have one fulltext search searching exclusively in forum posts texts. And in the same time, have a second, more general fulltext search searching in forum posts' text, videos' and channels' descriptions, etc.
This schema is working:
This schema is not supported: