Is it possible to delete the _source field and reclaim the space that is
being used by already indexed documents?
The update mapping call : curl -XPUT
'http://localhost:9200/index_name/type1/_mapping' -d
'{"type1":{"_source":{"enabled":false},"properties":{...}}}'
doesn't reduce the index size
Once set, mapping can be changed only in a very limited way. For example,
you can add a new field, but you cannot delete any fields. So, in order to
disable source, you will need to delete the type that you want to modify
and reindex your data.
On Wednesday, November 14, 2012 4:05:58 AM UTC-5, Shimi Kiviti wrote:
Is it possible to delete the _source field and reclaim the space that is
being used by already indexed documents?
The update mapping call : curl -XPUT ' http://localhost:9200/index_name/type1/_mapping' -d
'{"type1":{"_source":{"enabled":false},"properties":{...}}}'
doesn't reduce the index size
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.