protected internal virtual ICollection<string> ExcludedExtensionsFromByteCounts()
{
return new HashSet<string>(Arrays.AsList(new string[] { "si", "lock" }));
// segment infos store various pieces of information that don't solely depend
// on the content of the index in the diagnostics (such as a timestamp) so we
// exclude this file from the bytes counts
// lock files are 0 bytes (one directory in the test could be RAMDir, the other FSDir)
}