@@ -77,7 +77,7 @@ public void testSynthesizeArrayIgnoreAbove() throws Exception {
7777 new Object [] { "123" , "1234" , "12345" },
7878 new Object [] { null , null , null , "blabla" },
7979 new Object [] { "1" , "2" , "3" , "blabla" } };
80- verifySyntheticArray (arrayValues , mapping , 4 , "_id" , "_recovery_source" , " field._original" );
80+ verifySyntheticArray (arrayValues , mapping , 4 , "_id" , "field._original" );
8181 }
8282
8383 public void testSynthesizeObjectArray () throws Exception {
@@ -100,7 +100,7 @@ private void verifySyntheticArray(Object[][] arrays) throws IOException {
100100 .endObject ()
101101 .endObject ()
102102 .endObject ();
103- verifySyntheticArray (arrays , mapping , null , "_id" , "_recovery_source" );
103+ verifySyntheticArray (arrays , mapping , null , "_id" );
104104 }
105105
106106 private void verifySyntheticArray (Object [][] arrays , XContentBuilder mapping , Integer ignoreAbove , String ... expectedStoredFields )
@@ -221,7 +221,7 @@ private void verifySyntheticObjectArray(List<List<Object[]>> documents) throws I
221221 var document = reader .storedFields ().document (i );
222222 // Verify that there is ignored source because of leaf array being wrapped by object array:
223223 List <String > storedFieldNames = document .getFields ().stream ().map (IndexableField ::name ).toList ();
224- assertThat (storedFieldNames , contains ("_id" , "_recovery_source" , " _ignored_source" ));
224+ assertThat (storedFieldNames , contains ("_id" , "_ignored_source" ));
225225
226226 // Verify that there is no offset field:
227227 LeafReader leafReader = reader .leaves ().get (0 ).reader ();
0 commit comments