Thanks to @slashdotdash 

When the **_config.yml** does not contain *lunr_search* options.