# Search not working on a theme converted from hexo

**URL:** <https://discourse.gohugo.io/t/search-not-working-on-a-theme-converted-from-hexo/16193>\
**Category:** support\
**Created:** [January 7, 2019, 4:05am UTC](https://discourse.gohugo.io/t/search-not-working-on-a-theme-converted-from-hexo/16193 "2019-01-07T04:05:03Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![prabhakar\_shanmugam](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/prabhakar_shanmugam/32/6674_2.png) [@prabhakar\_shanmugam](https://discourse.gohugo.io/u/prabhakar_shanmugam)\
**Post date:** [January 7, 2019, 4:05am UTC](https://discourse.gohugo.io/t/search-not-working-on-a-theme-converted-from-hexo/16193/1 "2019-01-07T04:05:03Z")

</div>

Hi Guys I tried to replicate the Hexo Document Theme ([here](https://zalando-incubator.github.io/hexo-theme-doc/index.html))

All went fine until I tried replicating search functionality from there. It seems to use lunr.js and it seems to read from a json file.

Whatever I search I get “There are no results for” followed by the search term, I entered. This is the default message given in the doc.js file when its not able to find any result.

I tried to see if the location of the JSON file is the cause. I am not sure what I am missing. Please help.

I zipped the project and uploaded here  
[https://github.com/yesiknowjava/hugohexodoc/blob/master/hugohexodoc.tar.gz](https://github.com/yesiknowjava/hugohexodoc/blob/master/hugohexodoc.tar.gz)

Can somebody help me find out what I have missed. Thank You very much.
