Skip to content

Commit

Permalink
adding code for quick question
Browse files Browse the repository at this point in the history
Signed-off-by: n-dohrmann <[email protected]>
  • Loading branch information
n-dohrmann committed Dec 15, 2023
1 parent 0b02a23 commit e50468b
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1478,7 +1478,11 @@ class TransformRunnerIT : TransformRestTestCase() {
transformMetadata
}

// TODO - make sure we're written to the correct index!
// TODO - make sure we've written to the correct index!
val targetIndexMapping = client().makeRequest("GET", "/$indexAlias/_mapping")
val targetIndexParserMap = createParser(XContentType.JSON.xContent(), targetIndexMapping.entity.content).map() as Map<String, Map<String, Any>>

// how to check if the results are correctly written to the write index of the alias?

}
private fun getStrictMappings(): String {
Expand Down

0 comments on commit e50468b

Please sign in to comment.