Dear List ,
Is there anyway to penalize (severly) the ranking of those documents where the vector items do not appear in the same order as the items of to_tsquery ie the initial search terms. For example if a keyword "Red Wine" is searched then it should only match "Red Wine" or "Red Grape Wine" or, but should not match "Wine Red color" or "Wine ..... .... .. .. Red" etc. Currently it penalizes but not as severely as we would want it to. Also any pointers to the places (in source code) where things can be tweaked shall be greatly appreciated. Regards, Puneet Mishra