getLastCommitGeneration
Get the generation of the most recent commit to the list of index files (N in the segments_N file).
Parameters
files
-- array of file names to check
Get the generation of the most recent commit to the index in this directory (N in the segments_N file).
Parameters
directory
-- directory to search for the latest segments_N file