/// <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; }
/// <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); }
internal IndexBuilder(RequestFactory requestFactory, ACollection <T> collection, AIndexType type) { _requestFactory = requestFactory; _collection = collection; _create = new IndexCreateRequest() { Type = type.ToString().ToLower() }; }