You have to reindex all documents without the field.
But if you reindex using the same type, field will still appear in mapping (that's not really an issue IMHO).
Hi David Pilato,
thank you very much for yours guidance.. I will go through yours guidance.
here is another question related to update query.
I was going through the elasticsearch website an found update tutorial for elasticsearch. http://www.elasticsearch.org/guide/reference/api/update/
from there I picked a query to add a new field in document.
but when i am running this query, I am getting following error. can you help me in understanding why this error is comming.
{"error":"JsonParseException[Unexpected character ('s' (code 40)): was expecting
comma to separate OBJECT entries\n at [Source: [B@58c3af97; line: 1, column: 42
]]","status":500}
Hi David Pilato,
thank you very much for yours guidance.. I will go through yours guidance.
here is another question related to update query.
I was going through the elasticsearch website an found update tutorial for
elasticsearch. http://www.elasticsearch.org/guide/reference/api/update/
from there I picked a query to add a new field in document.
but when i am running this query, I am getting following error. can you help
me in understanding why this error is comming.
{"error":"JsonParseException[Unexpected character ('s' (code 40)): was
expecting
comma to separate OBJECT entries\n at [Source: [B@58c3af97; line: 1,
column: 42
]]","status":500}
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.