@@ -1009,15 +1009,16 @@ setup:
10091009---
10101010" Empty semantic_text field skips embedding generation " :
10111011 - requires :
1012- cluster_features : " semantic_text.skips_generating_embeddings_fix "
1013- reason : skips generating embeddings when field value is whitespace and/ or empty string
1012+ cluster_features : " semantic_text.handle_empty_input "
1013+ reason : skips generating embeddings when semantic_text field is contains empty or whitespace only input
10141014
10151015 - do :
10161016 index :
10171017 index : test-index
10181018 id : doc_1
10191019 body :
10201020 sparse_field : " "
1021+ refresh : true
10211022
10221023 - do :
10231024 search :
@@ -1027,21 +1028,23 @@ setup:
10271028 query :
10281029 match_all : { }
10291030
1031+ - match : { hits.total.value: 1 }
10301032 - match : { hits.hits.0._source.sparse_field: "" }
10311033 - not_exists : hits.hits.0._source._inference_fields
10321034
10331035---
10341036" Whitespace-Only semantic_text field skips embedding generation " :
10351037 - requires :
1036- cluster_features : " semantic_text.skips_generating_embeddings_fix "
1037- reason : skips generating embeddings when field value is whitespace and/ or empty string
1038+ cluster_features : " semantic_text.handle_empty_input "
1039+ reason : skips generating embeddings when semantic_text field is contains empty or whitespace only input
10381040
10391041 - do :
10401042 index :
10411043 index : test-index
10421044 id : doc_1
10431045 body :
10441046 sparse_field : " "
1047+ refresh : true
10451048
10461049 - do :
10471050 search :
@@ -1051,14 +1054,15 @@ setup:
10511054 query :
10521055 match_all : { }
10531056
1057+ - match : { hits.total.value: 1 }
10541058 - match : { hits.hits.0._source.sparse_field: " " }
10551059 - not_exists : hits.hits.0._source._inference_fields
10561060
10571061---
10581062" Reindexing with empty or whitespace semantic_text skips embedding generation " :
10591063 - requires :
1060- cluster_features : " semantic_text.skips_generating_embeddings_fix "
1061- reason : skips generating embeddings when field value is whitespace and/ or empty string
1064+ cluster_features : " semantic_text.handle_empty_input "
1065+ reason : skips generating embeddings when semantic_text field is contains empty or whitespace only input
10621066
10631067 - do :
10641068 index :
@@ -1113,8 +1117,8 @@ setup:
11131117---
11141118" Empty Multi-Field skips embedding generation " :
11151119 - requires :
1116- cluster_features : " semantic_text.skips_generating_embeddings_fix "
1117- reason : skips generating embeddings when field value is whitespace and/ or empty string
1120+ cluster_features : " semantic_text.handle_empty_input "
1121+ reason : skips generating embeddings when semantic_text field is contains empty or whitespace only input
11181122
11191123 - do :
11201124 indices.create :
0 commit comments