Updates Lucene code and tests to use an UUID (String).