public IndexResult CreateIndex(IndexCommand indexCommand, string indexSettings = null) { var result = connection.Put(indexCommand, indexSettings); return(Serializer.ToIndexResult(result)); }
public IndexResult CreateIndex(IndexCommand indexCommand, IndexSettingsBuilder indexSettings) { var result = connection.Put(indexCommand, indexSettings.Build()); return(Serializer.ToIndexResult(result)); }