Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ public class MapperFeatures implements FeatureSpecification {
static final NodeFeature IVF_FORMAT_CLUSTER_FEATURE = new NodeFeature("mapper.ivf_format_cluster_feature");
static final NodeFeature IVF_NESTED_SUPPORT = new NodeFeature("mapper.ivf_nested_support");
static final NodeFeature SEARCH_LOAD_PER_SHARD = new NodeFeature("mapper.search_load_per_shard");
static final NodeFeature PATTERNED_TEXT = new NodeFeature("mapper.patterned_text");

@Override
public Set<NodeFeature> getTestFeatures() {
Expand Down Expand Up @@ -76,7 +77,8 @@ public Set<NodeFeature> getTestFeatures() {
IVF_FORMAT_CLUSTER_FEATURE,
IVF_NESTED_SUPPORT,
SEARCH_LOAD_PER_SHARD,
SPARSE_VECTOR_INDEX_OPTIONS_FEATURE
SPARSE_VECTOR_INDEX_OPTIONS_FEATURE,
PATTERNED_TEXT
);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ public enum FeatureFlag {
DOC_VALUES_SKIPPER("es.doc_values_skipper_feature_flag_enabled=true", Version.fromString("8.18.1"), null),
USE_LUCENE101_POSTINGS_FORMAT("es.use_lucene101_postings_format_feature_flag_enabled=true", Version.fromString("9.1.0"), null),
IVF_FORMAT("es.ivf_format_feature_flag_enabled=true", Version.fromString("9.1.0"), null),
LOGS_STREAM("es.logs_stream_feature_flag_enabled=true", Version.fromString("9.1.0"), null);
LOGS_STREAM("es.logs_stream_feature_flag_enabled=true", Version.fromString("9.1.0"), null),
PATTERNED_TEXT("es.patterned_text_feature_flag_enabled=true", Version.fromString("9.2.0"), null);

public final String systemProperty;
public final Version from;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ public class LogsdbTestSuiteIT extends ESClientYamlSuiteTestCase {
.setting("xpack.license.self_generated.type", "trial")
.feature(FeatureFlag.DOC_VALUES_SKIPPER)
.feature(FeatureFlag.USE_LUCENE101_POSTINGS_FORMAT)
.feature(FeatureFlag.PATTERNED_TEXT)
.build();

public LogsdbTestSuiteIT(@Name("yaml") ClientYamlTestCandidate testCandidate) {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
setup:
- requires:
cluster_features: [ "mapper.patterned_text" ]
reason: "patterned_text mappings are used in this test"

- do:
indices.create:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
setup:
- requires:
cluster_features: [ "mapper.patterned_text" ]
reason: "patterned_text mappings are used in this test"

---
simple:
- do:
indices.create:
Expand Down