Skip to content
Snippets Groups Projects
Commit 78bbd6af authored by MZhu9's avatar MZhu9
Browse files

fix normalizedKind tag index bug

parent 2941e5ac
No related branches found
No related tags found
1 merge request!621fix normalizedKind tag index bug
Pipeline #213787 failed
......@@ -395,9 +395,9 @@ public class IndexerServiceImpl implements IndexerService {
document.setLegal(storageRecord.getLegal());
if (storageRecord.getTags() == null) {
Map<String, String> constantTags = new HashMap<>();
constantTags.put(IndexerServiceImpl.NORMALIZATION_KIND_TAG_ATTRIBUTE_NAME, String.format("%s:%s:%s:%s", authority, source, type, versionParts[0]));
storageRecord.setTags(constantTags);
}
storageRecord.getTags().put(IndexerServiceImpl.NORMALIZATION_KIND_TAG_ATTRIBUTE_NAME, String.format("%s:%s:%s:%s", authority, source, type, versionParts[0]));
document.setTags(storageRecord.getTags());
document.setCreateUser(storageRecord.getCreateUser());
document.setCreateTime(storageRecord.getCreateTime());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment