/// <summary>
        /// Configure boost type used in calculation
        /// </summary>
        /// <param name="parameter">Parameter to configure</param>
        /// <param name="boostFunctionType">Boost type used in calculation</param>
        public static IBoostParameter <TDocument> BoostFunctionType <TDocument>(this IBoostParameter <TDocument> parameter, BoostFunctionType boostFunctionType)
            where TDocument : Document
        {
            parameter.BoostFunctionType = boostFunctionType;

            return(parameter);
        }
        /// <summary>
        /// Configure query used to make boost
        /// </summary>
        /// <param name="parameter">Parameter to configure</param>
        /// <param name="query">Query used to make boost</param>
        public static IBoostParameter <TDocument> Query <TDocument>(this IBoostParameter <TDocument> parameter, SearchQuery <TDocument> query)
            where TDocument : Document
        {
            parameter.Query = query;

            return(parameter);
        }