Create a list of absolute paths to all files under root_path that
match the filename_pattern.
Parameters
relative_paths (bool) – By default, the absolute path to each file is
stored in the index. If relative_paths is True, then the
file paths will be relative to the root_path.
reindex (bool) – If reindex is True, then already indexed
files will be reindexed.