Adding a field to a document where _source.enabled is set to false


(akram79) #1

Hi

We have mapping to a document as "_source" : {"enabled" : false } in the template mappings.

When we tried to add a field from java api it is throwing document source missing.

Any Ideas, how to (add to /get) field from the source where "_source" : {"enabled" : false } is set in the template mappings.

Regards,
Akram.


(system) #2