Minimum Replica Factor

Solr uses a concept called "minimum replication factor parameter (minRf)" which shows that minimum number of shards and primary that a document must be committed. For example, imagine you use minRf=1 for a index and you have 1 primary and 1 replica then if you send a search query on this index then you may have two different count number. If you want to have the same count number, you should set minRf equal to number of shards.
Does Elasticsearch have the same parameter? Or Elasticsearch makes sure that all insert queries write on all shards then confirm the successful message?
Thanks