Elastic search with proximity search and score

Hello all, how can i use proximity search and relevant score to get data with high accurate, and difference between Elasticsearch and Solr

please help me