@Override
    public String toString() {
        if (documents.isEmpty()) {
            return "No documents found";
        }

        StringBuilder builder = new StringBuilder("found ");

        int i = 0;
        for (Document document : documents) {
            if (i > 0) {
                builder.append(", ");
            }
            builder.append(document.getPath());
            i++;

            if (i > 1) {
                break;
            }
        }

        if (documents.size() > 2) {
            builder
                    .append(" and ")
                    .append(documents.size() - 2)
                    .append(" more");
        }

        return builder.toString();
    }