title: Full-text search for static HTML files on CD-Rom via javascript
body: <p>I will be delivering a set of static HTML pages on CD-Rom; these pages need to be fully viewable with no Internet access whatsoever.</p>
  
  <p>I'd like to provide a full-text search (Lucene-like) for the content of those pages, which should "just work" from the CD-Rom with no software installation on the client machine.</p>
  
  <p>A search engine implementation in javascript would be the perfect solution, but I have trouble finding any that looks solid / current / popular...?</p>
  
  <p>I did find these:
  + <a href="http://search.cpan.org/~dpavlin/jsFind-0.07_01/jsFind.pm" rel="noreferrer">jsFind</a>
  + <a href="http://code.google.com/p/js-search/" rel="noreferrer">js-search</a></p>
  
  <p>but both projects seem rather inactive?</p>
  
  <p>Another solution, besides a specific search engine in javascript, would be the ability to access local Lucene indices from javascript: the indices themselves would be built with Lucene and copied to the CD-Rom along with the HTML files.</p>
  
  <p><strong>Edit</strong>: built it myself (see below).</p>