I was wondering whether I should index it into a PGSQL DB or directly in JS