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
Copy file name to clipboardExpand all lines: src/main/java/io/github/cupybara/javalangchains/chains/data/writer/WriteDocumentsToElasticsearchIndexChain.java
+43-17Lines changed: 43 additions & 17 deletions
Original file line number
Diff line number
Diff line change
@@ -37,11 +37,6 @@ public class WriteDocumentsToElasticsearchIndexChain implements Chain<Stream<Map
37
37
*/
38
38
privatefinalRestClientBuilderrestClientBuilder;
39
39
40
-
/**
41
-
* {@link ObjectMapper} used for document serialization
42
-
*/
43
-
privatefinalObjectMapperobjectMapper;
44
-
45
40
/**
46
41
* Optional {@link Function} which provides an ID value for a document. If set,
47
42
* documents are indexed using PUT /_doc/${id} instead of POST /_doc
@@ -54,6 +49,28 @@ public class WriteDocumentsToElasticsearchIndexChain implements Chain<Stream<Map
0 commit comments