Apache Lucene is an open source Java-based search engine library. It allows adding full-text search capabilities to applications. Lucene indexes and searches documents, and is independent of file format. It analyzes text through tokenization and converts it into indexes. Common analyzers include Whitespace, Simple, Stop, and Standard analyzers.