ccmdesign-archives / open-government-research-exchange

1 stars 3 forks source link

lunr prototype #14

Closed ghost closed 8 years ago

ghost commented 8 years ago

provides a working lunr prototype;

involves 2 steps:

  1. the search index is built using gulp and npm's lunr package, and then exported as json visible in the published site structure
  2. a script is provided in js/search.js to perform the actual search using lunr.js on the client side, and some mapping and additional ui features are implemented such as debouncing the search