const { keyword, result, renderResult } = new dddd.Search(data, options);
search source data
config extends options
{}
search keyword query string key
'q'
search target fields
['title', 'content', 'category', 'sub_category', 'tags']
custom render function availability
false
search result template block selector
'#template-post-list'
target container selector to render search results
'#postSection'
keyword
result
renderResult