A multi-agent approach for peer-to-peer-based information retrieval systems