0

One of our application was designed such a way that we have 7 indices each per day (7 days worth), and each indices has mapping has mutliple type say userId, but the fields are all the same per type. It was designed long back (ES2.x) version. Initially the userId were just 2/3 so we never had a issue. But recently the application has been opened up for mutliple user ID (in thousands) and we have to remove multiple types(also will be moving to ES 6.x soon)

Can anyone please suggest what is the best way to go about it? We cannot have multiple indices based on userID (then we will end up with thousands of indices). Is there a way we can design our index such that filtering based on usedId is simple?

4

0 回答 0