We have orders search functionality - by using query to filter our particular orders. https://docs.commercetools.com/api/predicates/query Every time we are adding new search params (typically custom fields) we have timeout error once we use them, after some time search optimization dynamic index is added side timeout issues are gone, search works fast without problems
For the last added search param index creation is taken more time: According to CT documentation it should take up to 2 weeks: From our previous experience it was couple of days, now it is more that 2 weeks already but we still have timeout issue and I am not sure what we can do to understand when it will.be optimized.
This is the custom field search, nothing complicated and nothing different from the other custom fields except name
custom(fields(motoReferenceId="{value}"))