Closed rentrop closed 6 years ago
You can add additional arguments to your function that apply the limit; if you return a set then you can't name them first
but you could do rowLimit
or similar?
Year that is true. But then you also have to to the pagination yourself, right?
Interesting, yeah, you’d be limited to only paginating rowLimit
rows, right?
Three questions:
ts_headline
would then run on everything. See if explain analyze
has any insight on this as it may be optimized.limit
is removed does Postgres optimize with the limit PostGraphQL provides?ts_vector
?[semi-automated message] Hi, there has been no activity in this issue for over 8 weeks so I'm closing it to keep the issues/pull request manageable. If this is still an issue, please re-open with a comment explaining why.
In the postgres doku on Controlling Text Search the last example explains how to use
ts_headline
as follows:Is it possible to do this
LIMIT 10
akafirst: 10
in postgraphql? In the doku they point out thatts_headline
is slow as its working on the original body instead of thets_vector
ti. Thats why they advice to usets_headline
only on a limited result-set.So far i have implemented postgres FTS via a stable postges procedure as described in advanced queries. It would be great to "past-process" a limited query.