in my project I have (index and type): test_index/rare_events structure.
those rare_events are submitted to ES very rarely and generally I would
like to store for instance only last 10 of them. how to limit in ES the amount
of documents during mapping creation for rare_events type? what is the
correct approach? thanks in advance for all hints
1, maybe but only for an index.
2, no. Chances are types will be removed at some point in the future, there are some large changes to them in 2.X that prevent mixing different types in a single index.
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.