Can we index and store fields that is present only in the mapping?

(Naveen Kumar) #1

I have a mapping which contains fields id, name and I index the document with fields id,name and age. Is it possible to limit only id and name and not age

(Alexander Reelsen) #2

You can configure dynamic field mapping to either ignore new fields (so they are not searchable) or even to reject a document that contains fields, which are not in the mapping. See

(system) #3

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.