Design of information retrieval systems