Fixed everything and the program now correctly indexes the documents. Use 'Luke' (do I have to escape those characters?) to search the documents. Also the path to the index folder and document folder is hard-coded in the code