Ranking algorithm has been modified to 'key_word_count / total_words_count' for each file. Of course some NLP algorithms would help in future. :) Inverted index table has also been created.