mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-11-03 20:19:31 +00:00
Fix #287: search api not returning all aggregations for Topics index
This commit is contained in:
parent
a049ec9a4f
commit
7a0d9c867c
@ -213,6 +213,8 @@ public class SearchResource {
|
||||
.field("description")
|
||||
.lenient(true))
|
||||
.aggregation(AggregationBuilders.terms("Service Type").field("service_type"))
|
||||
.aggregation(AggregationBuilders.terms("Tier").field("tier"))
|
||||
.aggregation(AggregationBuilders.terms("Tags").field("tags"))
|
||||
.highlighter(hb)
|
||||
.from(from).size(size);
|
||||
|
||||
|
||||
@ -5,6 +5,7 @@
|
||||
"partitions": 56,
|
||||
"retentionSize": 322122382273,
|
||||
"cleanupPolicies": ["delete"],
|
||||
|
||||
"schemaType": "Avro",
|
||||
"schemaText": "{\"namespace\":\"org.open-metadata.kafka\",\"name\":\"Customer\",\"type\":\"record\",\"fields\":[{\"name\":\"id\",\"type\":\"string\"},{\"name\":\"first_name\",\"type\":\"string\"},{\"name\":\"last_name\",\"type\":\"string\"},{\"name\":\"email\",\"type\":\"string\"},{\"name\":\"address_line_1\",\"type\":\"string\"},{\"name\":\"address_line_2\",\"type\":\"string\"},{\"name\":\"post_code\",\"type\":\"string\"},{\"name\":\"country\",\"type\":\"string\"}]}"
|
||||
},
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user