0

I would like to know if it's possible to add a mapping for a given type to an already existing index with the elastic4s API?

I've looked around and all the examples seem to create the mapping at index creation time, but that's not really what I'm looking for.

Thanks

devoured elysium
  • 101,373
  • 131
  • 340
  • 557

1 Answers1

0

In general you cannot change the properties for a type once you have created it. See https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-put-mapping.html#updating-field-mappings

sksamuel
  • 16,154
  • 8
  • 60
  • 108