Adds sample Lucene usage using ramdisk.