Esempio n. 1
0
 public override void WriteJson(ElasticsearchCrudJsonWriter elasticsearchCrudJsonWriter)
 {
     Similarities.WriteJson(elasticsearchCrudJsonWriter);
     Analysis.WriteJson(elasticsearchCrudJsonWriter);
     JsonHelper.WriteValue("number_of_shards", _numberOfShards, elasticsearchCrudJsonWriter, _numberOfShardsSet);
     base.WriteJson(elasticsearchCrudJsonWriter);
 }
Esempio n. 2
0
 public IndexUpdateSettings()
 {
     Analysis     = new Analysis();
     Similarities = new Similarities();
 }