You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This fix adds '_index' to meta when BulkIndexerItem.Index is not empty.
Currently, this value was ignored which leads to index errors when the
default index in BulkIndexerConfig.Index is empty.
Closes#146
(cherry picked from commit fc7f75e)
Copy file name to clipboardExpand all lines: esutil/bulk_indexer_integration_test.go
+67-1Lines changed: 67 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -22,6 +22,8 @@ import (
22
22
)
23
23
24
24
funcTestBulkIndexerIntegration(t*testing.T) {
25
+
body:=`{"body":"Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat."}`
body:=`{"body":"Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat."}`
0 commit comments