/// <summary>
        /// Allow the results from a stale search index to be used.
        /// </summary>
        /// <param name="value"></param>
        /// <returns></returns>
        public virtual SearchParametersConfigurator Stale(Stale value)
        {
            Parameters.Stale = value;

            return this;
        }
        /// <summary>
        /// Allow the results from a stale search index to be used.
        /// </summary>
        /// <param name="value"></param>
        /// <returns></returns>
        public virtual SearchParametersConfigurator Stale(Stale value)
        {
            Parameters.Stale = value;

            return(this);
        }
Пример #3
0
 public static string AsString(this Stale stale)
 {
     return(Mappings[stale]);
 }
Пример #4
0
        /// <summary>
        /// Allow the results from a stale view to be used.
        /// </summary>
        /// <param name="value"></param>
        /// <returns></returns>
        public virtual QueryViewRequestConfigurator Stale(Stale value)
        {
            Request.Stale = value;

            return(this);
        }
        /// <summary>
        /// Allow the results from a stale search index to be used.
        /// </summary>
        /// <param name="value"></param>
        /// <returns></returns>
        public virtual SearchIndexRequestConfigurator Stale(Stale value)
        {
            Request.Stale = value;

            return this;
        }
Пример #6
0
        public virtual IViewQueryConfigurator Stale(Stale value)
        {
            Options.Stale = value;

            return(this);
        }
        /// <summary>
        /// Allow the results from a stale view to be used.
        /// </summary>
        /// <param name="value"></param>
        /// <returns></returns>
        public virtual QueryViewParametersConfigurator Stale(Stale value)
        {
            Parameters.Stale = value;

            return(this);
        }
Пример #8
0
        public virtual IViewQueryConfigurator Stale(Stale value)
        {
            Options.Stale = value;

            return this;
        }
        /// <summary>
        /// Allow the results from a stale search index to be used.
        /// </summary>
        /// <param name="value"></param>
        /// <returns></returns>
        public virtual SearchIndexRequestConfigurator Stale(Stale value)
        {
            Request.Stale = value;

            return(this);
        }