first attempt at creating index of Dawg entries and searching a query through all of them