IntArraySet (final InvertedFilenameHashBasedIndex index, final String fileName) { final IntArraySet fileIds = new IntArraySet(); index.likelyFilesWithNames(Set.of(fileName), fileId -> { fileIds.add(fileId); return true; }); return fileIds; }