Defect HC-13675

Indexing hangs on "auth.reindex - WaitLink - Product Stage 1e" leading to "map explosion"

Software

Customer case Applies to Corrected in
CS0272293 V9.1.7.0 9.1.9.0

Observed behavior

As the number of attributes for a product increases, the indexing cost increases, sometimes dramatically. This can lead to the indexing operation hanging.

Expected behavior

As the number of product attributes increases, the indexing process time increase should be at worst, linear.

Resolution

Product attribution is implemented as dynamic index fields in the Product index, using the attribute identifier as part of the index field name. As the number of attributes increases, an Elasticsearch indexing phenomenon known as "map explosion" can occur. The indexing structure was altered to use a static index field mapping instead and thereby avoid indexing with dynamic field names.