fix: testCase index (#17524)

do not index failed rows sample
This commit is contained in:
Imri Paran 2024-08-21 15:33:09 +02:00 committed by GitHub
parent 7ada44a315
commit 5e6e54ef18
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -15,7 +15,7 @@ import org.openmetadata.service.search.SearchIndexUtils;
import org.openmetadata.service.search.models.SearchSuggest; import org.openmetadata.service.search.models.SearchSuggest;
public record TestCaseIndex(TestCase testCase) implements SearchIndex { public record TestCaseIndex(TestCase testCase) implements SearchIndex {
private static final Set<String> excludeFields = Set.of("changeDescription"); private static final Set<String> excludeFields = Set.of("changeDescription", "failedRowsSample");
@Override @Override
public Object getEntity() { public Object getEntity() {