FTS documentation states “total_hits”:
" Total hits represents the total number of matches for this result. It can be any integer starting from 0".
By “matches” is the total number of documents containing matches? Or, is that the total number of matches among some number of documents?
To set up pagination, one requires the limit, offset, and the total number of documents included in the result, not just those returned as a result of the limit restriction. If total_hits is the number of document that could be included in the result, then I have my solution.
I appreciate confirmation of this understanding.