mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-17 02:14:54 +00:00
Use correct policy type in test
This commit is contained in:
parent
a56daeae2d
commit
403728dc3d
@ -42,7 +42,7 @@ public class EnrichTransportClientIT extends ESXPackSmokeClientTestCase {
|
||||
XPackClient xPackClient = new XPackClient(client);
|
||||
EnrichClient enrichClient = xPackClient.enrichClient();
|
||||
|
||||
EnrichPolicy policy = new EnrichPolicy("exact_match", null, Collections.emptyList(), "test", Collections.emptyList());
|
||||
EnrichPolicy policy = new EnrichPolicy("match", null, Collections.emptyList(), "test", Collections.emptyList());
|
||||
String policyName = "my-policy";
|
||||
|
||||
AcknowledgedResponse acknowledgedResponse = enrichClient.putEnrichPolicy(
|
||||
|
Loading…
x
Reference in New Issue
Block a user