I need to search for the keys by last component. Is it possible? What can I do to avoid this?
For example, I have a keys like key/group1/group2/id and I want to be able to search keys by group1. But at the same time I need to search by id. If I move id to start of key (key/id/group1/group) then I will be unable to search by group...