util/insight-search

Create the DOM-independent Insight query engine. Keep the factory self-contained: the search view serializes it into an inline script, including when used without the Hexo asset generator or with a CDN-hosted insight.js.
Source:
Returns:
Type:
function
Search (index, query), returning parsed keywords and ranked result sections.