mirror of
https://github.com/tencentmusic/supersonic.git
synced 2025-12-11 03:58:14 +00:00
support foreign identify (#111)
* [improvement][semantic] add get metric agg function * [improvement][semantic] support foreign identify
This commit is contained in:
@@ -221,7 +221,7 @@ public class ModelServiceImpl implements ModelService {
|
||||
|
||||
@Override
|
||||
public Map<Long, String> getModelFullPathMap() {
|
||||
return getModelList().stream().collect(Collectors.toMap(ModelResp::getId,
|
||||
return getModelList().stream().filter(m -> m != null).collect(Collectors.toMap(ModelResp::getId,
|
||||
ModelResp::getFullPath, (k1, k2) -> k1));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user