Add html mode in search module
Add mode in search_constrctor.