After that, we build a weighted inverted list where each list presents a word with sorted corresponding short texts according to the similarity score.
for a given query text q, each word in q corresponds to a list of short texts.