mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-09-26 17:34:41 +00:00
make isBot (#14914)
This commit is contained in:
parent
bb2433966d
commit
db7db07812
@ -32,6 +32,7 @@ public class TeamIndex implements SearchIndex {
|
||||
suggest.stream().map(SearchSuggest::getInput).collect(Collectors.toList())));
|
||||
doc.put("suggest", suggest);
|
||||
doc.put("entityType", Entity.TEAM);
|
||||
doc.put("isBot", false);
|
||||
doc.put(
|
||||
"displayName",
|
||||
CommonUtil.nullOrEmpty(team.getDisplayName()) ? team.getName() : team.getDisplayName());
|
||||
|
@ -249,6 +249,9 @@
|
||||
"deleted": {
|
||||
"type": "text"
|
||||
},
|
||||
"isBot": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"entityType": {
|
||||
"type": "keyword"
|
||||
},
|
||||
|
@ -258,6 +258,9 @@
|
||||
"deleted": {
|
||||
"type": "text"
|
||||
},
|
||||
"isBot": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"entityType": {
|
||||
"type": "keyword"
|
||||
},
|
||||
|
@ -203,6 +203,9 @@
|
||||
"deleted": {
|
||||
"type": "text"
|
||||
},
|
||||
"isBot": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"entityType": {
|
||||
"type": "keyword"
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user