- Sort Score
- Num 10 results
- Language All
Results 1 - 3 of 3 for ReplaceKeyInMatch (0.23 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/rest/transform/match/ReplaceKeyInMatch.java
/** * A transformation to replace the key in a match. For example, change from "match":{"index._type": "foo"} to "match":{"index._doc": "foo"} */ public class ReplaceKeyInMatch extends ReplaceByKey { public ReplaceKeyInMatch(String replaceKey, String newKeyName, String testName) { super(replaceKey, newKeyName, null, testName); } @Override @Internal public String getKeyToFind() {
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 01 09:19:30 GMT 2021 - 1.4K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/rest/compat/RestCompatTestTransformTask.java
* @param oldKeyName the key name directly under match to replace. * @param newKeyName the new key name directly under match. * @see ReplaceKeyInMatch */ public void replaceKeyInMatch(String oldKeyName, String newKeyName) { transformations.add(new ReplaceKeyInMatch(oldKeyName, newKeyName, null)); } /** * Replaces all the values of a is_true assertion for all project REST tests.Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Thu Sep 30 16:30:48 GMT 2021 - 22.3K bytes - Click Count (0) -
build-tools-internal/src/integTest/groovy/org/elasticsearch/gradle/internal/test/rest/YamlRestCompatTestPluginFuncTest.groovy
task.replaceKeyInDo("do_.some.key_to_replace", "do_.some.key_that_was_replaced") task.replaceKeyInDo("do_.some.key_to_replace_in_two", "do_.some.key_that_was_replaced_in_two", "two") task.replaceKeyInMatch("match_.some.key_to_replace", "match_.some.key_that_was_replaced") task.replaceKeyInLength("key.in_length_to_replace", "key.in_length_that_was_replaced")
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Thu Sep 30 16:30:48 GMT 2021 - 16.4K bytes - Click Count (0)