Creating indexes and start with the search