Explicitly set a confidence interval in more dense vector tests#145232
Explicitly set a confidence interval in more dense vector tests#145232davidkyle merged 2 commits intoelastic:mainfrom
Conversation
|
Pinging @elastic/es-search-relevance (Team:Search Relevance) |
|
I mean, if we are having to do this, there is obviously something wrong with how we serialize and handle default values. If returning and "include_defaults" is |
|
The problem is the this assertion in DocumentMapper which is firing on the old node in a mixed cluster. For this mixed cluster problem we can't use a the usual solution of a creating node feature as this means passing the FeatureService and ClusterState down into the mapper. We can't change all the BWC versions so we were left with a choice of selective muting or setting confidence_interval to the old default value making the mapping representations the same in the new cluster and old cluster. This change is the latter and unfortunately that means we have to handle all the deprecation warning which trigger not just when setting the value at index creation but every time a document is indexed. |
|
confidence_interval is deprecated, the new default value is for it to not exist |
…rics * upstream/main: (428 commits) ESQL: DS: Add inference/RERANK tests (elastic#145229) Unmute MMR logical plan test (elastic#145311) Do not attempt marking store as corrupted if the check is rejected due to shutdown (elastic#145209) feat(tsdb): add pipeline runtime and rename stage interfaces (elastic#145175) Fix UnresolvedException on PromQL by(step) grouping (elastic#145307) ES|QL: Optimize MMR by reducing cache size and lookup (elastic#145014) Prometheus labels/series APIs: support multiple match[] selectors (elastic#145298) Move ClientScrollablePaginatedHitSource into Reindex Module (elastic#144100) mute test class for elastic#145277 CPS mode for ViewResolver (elastic#145219) [ESQL] Disables GroupedTopNBenchmark temporarily (elastic#145124) Make exponential_histogram the default histogram type for HTTP OTLP endpoint (elastic#145065) More tests requiring an explicit confidence interval (elastic#145232) ES|QL: Adding `USER_AGENT` command (elastic#144384) ESQL: enable Generative IT after more fixes (elastic#145112) Rework FieldMapper parameter tests to not use merge builders (elastic#145213) [ESQL] Fix ORC type support gaps (elastic#145074) [Test] Unmute FollowingEngineTests.testProcessOnceOnPrimary (elastic#145192) Add PrometheusSeriesRestAction for /_prometheus/api/v1/series endpoint (elastic#144494) Prometheus labels API: add rest action (elastic#144952) ...
Follow on to #145078 which missed a few tests
Closes #145180