/// <summary>
        /// Create a minimum should match
        /// </summary>
        /// <param name="documentSearch">Document search engine</param>
        /// <param name="conditional">Conditional to add parameter</param>
        /// <param name="value">Expression used to make mm parameter</param>
        /// <returns>Document search engine</returns>
        public static DocumentSearch <TDocument> MinimumShouldMatchIf <TDocument>(this DocumentSearch <TDocument> documentSearch, Func <bool> conditional, string value)
            where TDocument : Document
        {
            Checker.IsNull(conditional);

            if (conditional.Invoke())
            {
                documentSearch.MinimumShouldMatch(value);
            }

            return(documentSearch);
        }