I have used minimum_should_match as 10% or 80% both are giving same result.there is no difference in output.Please let me know why minimum_should_match is not working.
Assuming your analyzer splits on whitespace, your query only contains two terms: Pravin and MEH.
When you use percentages with minimum_should_match, the number computed from the percentage is rounded down and used as the minimum. Since you only have two terms, 10% of 2 is 0.2, which rounds down to 0. However, minimum_should_match will never use a value less than 1, so 10% becomes 1. 80% of 2 is 1.6, which rounds down to 1. So for this particular query with only two terms, 10% and 80% are equivalent. Try a query with more terms, or try 50% vs 100%.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.