I am experimenting with supporting synonyms on the query side by doing
query expansion.
For example, the query "open webpage" can be expanded if the following
things are synonyms:
"open" | "go to"
This becomes the following: (I'm using both the stop word filter and the
stemming filter)
sp
Hello ,
I have a set of documents ,
doc1:{world,hello}
doc2:{world,test,try}
doc3:{try, play,work}
doc4:{hello,football,play}
I want to query like doc_id:(doc1 doc2 doc4) and want to fetch top high-freq
terms from the token terms ,
so if I want top 2 terms , it should return {world=2,hello=2} a