public String generateDocId(Model model, String originalID) {
        if (!model.isTimeSeries()) {
            return this.generateDocId(model.getName(), originalID);
        }
        if (!logicSharding && model.isRecord() && !model.isSuperDataset()) {
            return this.generateDocId(model.getName(), originalID);
        }
        if (!model.isMetric()) {
            return originalID;
        }
        if (logicSharding && !isFunctionMetric(model)) {
            return originalID;
        }
        return this.generateDocId(model.getName(), originalID);
    }
Generate the index doc ID. When a model is the merged storage mode, the logicTableName is a part of new ID
to avoid conflicts.
oap-server/server-storage-plugin/storage-elasticsearch-plugin/src/main/java/org/apache/skywalking/oap/server/storage/plugin/elasticsearch/base/IndexController.java