Elastic search is built on top of Lucene1. Lucene is a Java library that provides indexing and search features, as well as spellchecking, hit highlighting and advanced analysis/tokenization capabilities.
Documents
Document is a set of information that can be indexed and searched for.