While both are based on Lucene, Solr is often preferred for its advanced faceting capabilities, whereas Elasticsearch is favored for its simplicity and real-time search performance.