mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-08-27 10:26:09 +00:00
Bug Fix : ApiEndpoint reindexing failure (#19200)
This commit is contained in:
parent
0d3393c3c1
commit
38a970b829
@ -75,7 +75,7 @@ public class APIEndpointIndex implements SearchIndex {
|
||||
&& apiEndpoint.getRequestSchema().getSchemaFields() != null
|
||||
&& !apiEndpoint.getRequestSchema().getSchemaFields().isEmpty()) {
|
||||
List<FlattenSchemaField> flattenFields = new ArrayList<>();
|
||||
parseSchemaFields(apiEndpoint.getResponseSchema().getSchemaFields(), flattenFields, null);
|
||||
parseSchemaFields(apiEndpoint.getRequestSchema().getSchemaFields(), flattenFields, null);
|
||||
|
||||
for (FlattenSchemaField field : flattenFields) {
|
||||
fieldSuggest.add(SearchSuggest.builder().input(field.getName()).weight(5).build());
|
||||
|
Loading…
x
Reference in New Issue
Block a user