This PR is a quick fix on searching an article by id. Since we're switching to ILM, we expect to conduct search on the index alias that maps to multiple indices. The GET api assumes searching a single index, hence the error posted on slack.
{"error":{"root_cause":[{"type":"illegal_argument_exception","reason":"alias [mc_search] has more than one index associated with it
This PR is a quick fix on searching an article by
id
. Since we're switching to ILM, we expect to conduct search on the index alias that maps to multiple indices. The GET api assumes searching a single index, hence the error posted on slack.{"error":{"root_cause":[{"type":"illegal_argument_exception","reason":"alias [mc_search] has more than one index associated with it