Grouping multiple indices
Too many documents under the index may degrade search performance. If most queries are based on the same field of the index, such as category, class, and type, then you can logically group data by that field. Let's assume that there is a category field in the documents. There are four categories, which are large, mid, small, and others. If the documents can be evenly divided into each category, we can create four indices based on the category to index the documents. Then, we can create an alias called cf_etf_alias to contain all four indices. If you want to search for records from all categories, just use the index alias, cf_etf_alias. The following steps are used to create the index alias for all four indices. ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access