Example #1
0
 /// <summary>
 /// Determines type of the index.
 /// </summary>
 public AIndex Type(AIndexType value)
 {
     // needs to be string value
     _parameters.String(ParameterName.Type, value.ToString().ToLower());
 	
 	return this;
 }
Example #2
0
        /// <summary>
        /// Determines type of the index.
        /// </summary>
        public AIndex Type(AIndexType value)
        {
            // needs to be string value
            _parameters.String(ParameterName.Type, value.ToString().ToLower());

            return(this);
        }
Example #3
0
        internal IndexBuilder(RequestFactory requestFactory, ACollection <T> collection, AIndexType type)
        {
            _requestFactory = requestFactory;
            _collection     = collection;

            _create = new IndexCreateRequest()
            {
                Type = type.ToString().ToLower()
            };
        }