I think I didn't phrase it correctly
consider this json
How can I not index the field "successful". When I do a mapping and not
include this field but then index a document that has this
field then it gets mapped dynamically. Of course I can set dynamic mapping
off and it will work as I want but there are other cases where dynamic
mapping is handy.
On 9 February 2011 20:32, kimchy [via ElasticSearch Users] <
On Wednesday, February 9, 2011 at 7:49 PM, stelios wrote:
Two questions regarding the mapping process.
- I see for the object type you have the field enabled in case you don't
want to index it in
subsequent calls. How can you not index a core type field. Meaning you have
an initial mapping where you set your fields.
But some later call to index can have a core type field that I don't want
index. As it is now, correct me if I'm wrong, it
will get dynamically mapped. How can I avoid that.
You can set the dynamic flag to false on the root object mapping.
- If I change the mapping I have for a document by adding a new field,
dynamically or not, it will cause a re-indexing of the already indexed
No, you don't need to reindex. Introducing new fields does not require
View this message in context:
Sent from the ElasticSearch Users mailing list archive at Nabble.com.
If you reply to this email, your message will be added to the discussion
To unsubscribe from Dynamic mapping questions, click herehttp://elasticsearch-users.115913.n3.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=2460164&code=c3RldG9naWFzQGdtYWlsLmNvbXwyNDYwMTY0fC0xMDc4NTcwNTM2.