Constructing search action