Opensearch v 2.15.0
Hi,
I have an index pattern with more than 1000 fields and when I select this index pattern on the Discover section, I get the following error:
null_pointer_exception
Cannot invoke “org.opensearch.search.aggregations.InternalAggregations.getSerializedSize()” because “reducePhase.aggregations” is null
Error
at fetch_Fetch.fetchResponse (https://opensearch/_dashboards/701202401/bundles/core/core.entry.js:15:243178)
at async interceptResponse (https://opensearch/_dashboards/701202401/bundles/core/core.entry.js:15:237932)
at async opensearch/_dashboards/701202401/bundles/core/core.entry.js:15:240899
Is there any limit on the number of fields to show on the Discover section? It is possible to increase this limit?
I tried reducing the number of rows on the Discover section, but I still receive the error. The only way that I found to don’t get this error is adding source filters on the index pattern to reduce the number of fields, but is there any other solution for this?
I have the default config in Opensearch and in the Discover section by default shows timestamp and _source.