added config for query search.