mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2026-01-05 12:07:10 +00:00
Knowledge Center SearchFIx (#14935)
This commit is contained in:
parent
4d3d6c6bfa
commit
38726971cf
@ -385,7 +385,8 @@ public class ElasticSearchClient implements SearchClient {
|
||||
}
|
||||
|
||||
/* For backward-compatibility we continue supporting the deleted argument, this should be removed in future versions */
|
||||
if (request.getIndex().equalsIgnoreCase("all")) {
|
||||
if (request.getIndex().equalsIgnoreCase("all")
|
||||
|| request.getIndex().equalsIgnoreCase("dataAsset")) {
|
||||
BoolQueryBuilder boolQueryBuilder = QueryBuilders.boolQuery();
|
||||
boolQueryBuilder.should(
|
||||
QueryBuilders.boolQuery()
|
||||
|
||||
@ -376,7 +376,8 @@ public class OpenSearchClient implements SearchClient {
|
||||
}
|
||||
|
||||
/* For backward-compatibility we continue supporting the deleted argument, this should be removed in future versions */
|
||||
if (request.getIndex().equalsIgnoreCase("all")) {
|
||||
if (request.getIndex().equalsIgnoreCase("all")
|
||||
|| request.getIndex().equalsIgnoreCase("dataAsset")) {
|
||||
BoolQueryBuilder boolQueryBuilder = QueryBuilders.boolQuery();
|
||||
boolQueryBuilder.should(
|
||||
QueryBuilders.boolQuery()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user