A note on weighted queries in information retrieval systems