Ejemplo n.º 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;
 }
Ejemplo n.º 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);
        }
Ejemplo n.º 3
0
        internal IndexBuilder(RequestFactory requestFactory, ACollection <T> collection, AIndexType type)
        {
            _requestFactory = requestFactory;
            _collection     = collection;

            _create = new IndexCreateRequest()
            {
                Type = type.ToString().ToLower()
            };
        }
Ejemplo n.º 4
0
 public IndexBuilder <T> New(AIndexType type)
 {
     return(new IndexBuilder <T>(_requestFactory, _collection, type));
 }