Implementation of store search.