I am trying to figure out how I can introduce full text search "tips"... tips meaning, like if you start typing Mer ..
then a box with a couple of words underneath comes up, with Mercedes, Mercury and so on :P
I am thinking that the word suggestions needs to come from the already existing tsearch2 index.
Words that are frequent in the index could be ranked higher as a search tip.
Is there a way to query the actual existing index?
How else could one approach this? There are many sites that uses this, so perhaps there is an easier way I haven't thought of yet.
Thank you / Moe