clean up sample-data script with new-fangled search indexing (fixes #10)