write the class that use the elasticsearch to make the text file searchable.

TODO:
Write the unit test for it.
How to make the program more strong.