This is my code:
var connectionSettings = new ConnectionSettings(new
settings.Formatting = Formatting.None;
var nestClient = new ElasticClient(connectionSettings);
I previously used ElasticSearch.NET directly, and I had no problem setting
formatting to "Formatting.None", but when using NEST, whenever I index a
document, it's indented. This is an example of an Index call:
nestClient.Index(obj, i => i.Index(index).Type("user").Id(key));
Thanks for helping me out here!
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firstname.lastname@example.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/94096399-d47b-4f64-adf7-ca3d049d70c1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.