### CI Link

https://gradle-enterprise.elastic.co/s/a5eowub2bcp5u/console-log?task=:x-pack:plugin:ml:test

### Repro line

./gradlew ':x-pack:plugin:ml:test' --tests "org.elasticsearch.xpack.ml.aggs.frequentitemsets.FrequentItemSetsAggregatorTests.testMixedSingleValues" -Dtests.seed=56BB3CB0A16A5D88 -Dtests.locale=lv-LV -Dtests.timezone=Asia/Calcutta -Druntime.java=17

### Does it reproduce?

Yes

### Applicable branches

main

### Failure history

https://ci-stats.elastic.co/s/jenkins/goto/c28e5460-8139-11ed-8c75-17c4c1b8664c

### Failure excerpt

```
  2> java.lang.IllegalArgumentException: 'host-2' is not an IP string literal.
        at __randomizedtesting.SeedInfo.seed([56BB3CB0A16A5D88:911A158370D678DC]:0)
        at org.elasticsearch.common.network.InetAddresses.forString(InetAddresses.java:343)
        at org.elasticsearch.search.DocValueFormat$IpDocValueFormat.parseBytesRef(DocValueFormat.java:483)
        at org.elasticsearch.search.aggregations.bucket.terms.IncludeExclude.parseForDocValues(IncludeExclude.java:557)
        at org.elasticsearch.search.aggregations.bucket.terms.IncludeExclude$SetAndRegexStringFilter.<init>(IncludeExclude.java:221)
        at org.elasticsearch.search.aggregations.bucket.terms.IncludeExclude.convertToStringFilter(IncludeExclude.java:548)
        at org.elasticsearch.xpack.ml.aggs.frequentitemsets.mr.ItemSetMapReduceValueSource$KeywordValueSource.<init>(ItemSetMapReduceValueSource.java:150)
        at org.elasticsearch.xpack.ml.aggs.frequentitemsets.mr.ItemSetMapReduceAggregator.<init>(ItemSetMapReduceAggregator.java:84)
        at org.elasticsearch.xpack.ml.aggs.frequentitemsets.FrequentItemSetsAggregatorFactory$1.<init>(FrequentItemSetsAggregatorFactory.java:125)
        at org.elasticsearch.xpack.ml.aggs.frequentitemsets.FrequentItemSetsAggregatorFactory.createInternal(FrequentItemSetsAggregatorFactory.java:122)
        at org.elasticsearch.search.aggregations.AggregatorFactory.create(AggregatorFactory.java:81)
        at org.elasticsearch.search.aggregations.AggregatorTestCase.createAggregator(AggregatorTestCase.java:255)
        at org.elasticsearch.search.aggregations.AggregatorTestCase.searchAndReduce(AggregatorTestCase.java:555)
        at org.elasticsearch.search.aggregations.AggregatorTestCase.runWithCrankyCircuitBreaker(AggregatorTestCase.java:476)
        at org.elasticsearch.search.aggregations.AggregatorTestCase.searchAndReduce(AggregatorTestCase.java:459)
        at org.elasticsearch.search.aggregations.AggregatorTestCase.testCase(AggregatorTestCase.java:652)
        at org.elasticsearch.xpack.ml.aggs.frequentitemsets.FrequentItemSetsAggregatorTests.testMixedSingleValues(FrequentItemSetsAggregatorTests.java:339)
```
x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/aggs/frequentitemsets/FrequentItemSetsAggregatorTests.java
/*
 * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
 * or more contributor license agreements. Licensed under the Elastic License
 * 2.0; you may not use this file except in compliance with the Elastic License
 * 2.0.
 */
package org.elasticsearch.xpack.ml.aggs.frequentitemsets;
import org.apache.lucene.document.FloatDocValuesField;
import org.apache.lucene.document.InetAddressPoint;
import org.apache.lucene.document.NumericDocValuesField;
import org.apache.lucene.document.SortedNumericDocValuesField;
import org.apache.lucene.document.SortedSetDocValuesField;
import org.apache.lucene.search.MatchAllDocsQuery;
import org.apache.lucene.search.Query;
import org.apache.lucene.util.BytesRef;
import org.elasticsearch.common.Strings;
import org.elasticsearch.common.network.InetAddresses;
import org.elasticsearch.common.settings.Settings;
import org.elasticsearch.common.time.DateFormatter;
import org.elasticsearch.core.Tuple;
import org.elasticsearch.index.mapper.DateFieldMapper;
import org.elasticsearch.index.mapper.IpFieldMapper;
import org.elasticsearch.index.mapper.KeywordFieldMapper;
import org.elasticsearch.index.mapper.MappedFieldType;