You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@k0001 what would need to be done to implement this? I really need this feature for my own work, so I'm prepared to put in some work (which it seems will have to start from postgresql-simple 😨)
The text was updated successfully, but these errors were encountered:
Some things I can think of off the top of my head:
We need data PGTsVector and data PGTsQuery to be used as type level indexes for database side stuff, both with PgPrimType and PgTyped instances.
We need to introduce data TsVector = ... and data TsQuery = ... for correctly representing tsvector and tsquery in Haskell (probably in Tisch.Internal.Kol).
We need ToKol instances for TsVector and TsQuery.
We need to add functions that work on Kol TsVector and Kol TsQuery to Tisch.Internal.Fun.
So will all the work be in Tisch? I understand you're planning to remove the Opaleye dependency, but postgresql-simple doesn't support tsvector/tsquery, it seems.
I think the TsVector and TsQuery types should be newtyped Map Lexeme Weight, where
@k0001 what would need to be done to implement this? I really need this feature for my own work, so I'm prepared to put in some work (which it seems will have to start from
postgresql-simple
😨)The text was updated successfully, but these errors were encountered: