If I have search engine database which have a lot of records (id and keywords associated with that id), when given input (list of keywords), will output list of ids and the rank