You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Expand all lines: data-prepper-plugins/opensearch/src/main/java/org/opensearch/dataprepper/plugins/source/opensearch/worker/client/SearchAccessorStrategy.java
thrownewInvalidPluginConfigurationException("A search_context_type of point_in_time or scroll is not supported for serverless collections");
152
+
if ( SearchContextType.SCROLL.equals(openSearchSourceConfiguration.getSearchConfiguration().getSearchContextType())) {
153
+
thrownewInvalidPluginConfigurationException("A search_context_type of scroll is not supported for serverless collections");
155
154
}
156
155
157
156
LOG.info("Using search_context_type set in the config: '{}'", openSearchSourceConfiguration.getSearchConfiguration().getSearchContextType().toString().toLowerCase());
0 commit comments