Uses modifed context object for rebuilding the index
Optimizes searching for locale items by using only non-empty values