|
|
|
|
|
by benpacker
982 days ago
|
|
I’m not sure if Postgres could support that type of operation directly via count() since I don’t know if the fact that no other filters are present is available to the Index Access Method API. It might be possible to do a separate function though, like: select pg_bm25_direct_count(‘term’)* |
|
[1] https://www.npmjs.com/package/postgres-searchbox