//#region src/fts/rank.ts
/** Choose Postgres rank function — cover-density variant (`ts_rank_cd`) or plain (`ts_rank`). */
function chooseRankFn(coverDensity) {
	return coverDensity ? "ts_rank_cd" : "ts_rank";
}
//#endregion
export { chooseRankFn };
