add search configuration files
add search function