Code to get all the data from DB written
All codes linked now. Just run GraphSearchIndexingMain to run the
indexing.