Reduce the number of queries in full-text searches