/// <summary> /// Allows to control whether field searchable and analyzed. /// </summary> public IdField <T> Index(IndexState index) { RegisterCustomJsonMap("'index': {0}", index.AsString().Quotate()); return(this); }
/// <summary> /// Allows to control whether field searchable and analyzed. /// </summary> public TMapping Index(IndexState index) { RegisterCustomJsonMap("'index': {0}", index.AsString().Quotate()); return((TMapping)this); }