Querying sparse matrices for information retrieval door