Sphinx is the text search system. Its distinctive feature is high speed of indexing and retrieval, and integration with existing databases (PostgreSQL, MySql). Sphinx system is used in many projects with a large amount of data that must be carried out search.
Elasticsearch is an open source search server based on Lucene – free software library for full text search. It provides a distributed high-capable full-text search engine with a RESTful web interface and schema-free JSON documents. Elasticsearch is written in Java.