mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-08-31 04:14:34 +00:00
- Non Indexable fields should be remvoed at the end (#16499)
This commit is contained in:
parent
30dd7e736c
commit
f0b0f7a942
@ -36,13 +36,13 @@ public interface SearchIndex {
|
||||
Set.of("changeDescription", "lineage.pipeline.changeDescription");
|
||||
|
||||
default Map<String, Object> buildSearchIndexDoc() {
|
||||
Map<String, Object> esDoc = JsonUtils.getMap(getEntity());
|
||||
// Build Index Doc
|
||||
Map<String, Object> esDoc = this.buildSearchIndexDocInternal(JsonUtils.getMap(getEntity()));
|
||||
|
||||
// Non Indexable Fields
|
||||
removeNonIndexableFields(esDoc);
|
||||
|
||||
// Build Index Doc
|
||||
return this.buildSearchIndexDocInternal(esDoc);
|
||||
return esDoc;
|
||||
}
|
||||
|
||||
default void removeNonIndexableFields(Map<String, Object> esDoc) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user