Added method to search inside the dcouments.

Need to test this on a large dataset.