Sample code for the article https://medium.com/humanseelabs/gatsby-v2-with-a-multi-language-search-plugin-ffc5e04f73bc demonstrating gatsby-plugin-lunr usage with Gatsby2.
Sample code demonstrating gatsby-plugin-lunr usage with Gatsby2
Make sure that you have the Gatsby CLI program installed:
npm install --global gatsby-cli
And run from your CLI:
gatsby new my-default-project https://github.com/gatsbyjs/gatsby-starter-default#v2
Then you can run it by:
cd my-default-project
gatsby develop