We benchmarked Elasticsearch 8.14–8.18 as part of an upgrade we helped a customer with. We uncovered a hidden performance regression in nested indices and will share how we discovered this, along with the exact steps needed to fix it.
Performance (Demo)
In Lucene-based search engines like OpenSearch and Solr, keyword aggregations ignore duplicate values that occur within a multi-valued field. We built an OpenSearch plugin to overcome this limitation.

