@Override
    public <T> Flux<Document> listIndexes(Class<T> clazz) {
        MongoCollection<T> collection = context.getCollection(clazz);
        ListIndexesPublisher<Document> source = collection.listIndexes();
        return Flux.from(source);
    }
apply the shard key to the filter so that mongos know to which MongoDB the command needs to
be sent for better performance
turms-server-common/src/main/java/im/turms/server/common/storage/mongo/operation/TurmsMongoOperations.java