Class SearchQueryInputDataset

java.lang.Object
org.opensearch.ml.common.dataset.MLInputDataset
org.opensearch.ml.common.dataset.SearchQueryInputDataset
All Implemented Interfaces:
org.opensearch.core.common.io.stream.Writeable

public class SearchQueryInputDataset extends MLInputDataset
Search query based input data. The client just need give the search query, and ML plugin will read the data based on it, and build the data frame for algorithm execution.
  • Constructor Details

    • SearchQueryInputDataset

      public SearchQueryInputDataset(@NonNull @NonNull List<String> indices, @NonNull @NonNull org.opensearch.search.builder.SearchSourceBuilder searchSourceBuilder)
    • SearchQueryInputDataset

      public SearchQueryInputDataset(org.opensearch.core.common.io.stream.StreamInput streaminput) throws IOException
      Throws:
      IOException
  • Method Details