Interface OpenSearchStoredScriptProvider

All Known Implementing Classes:
ModifiedDateExpDecayScoreScriptProvider, ModifiedDateGaussDecayScoreScriptProvider, OpenSearchFavouriteSortMapper, OpenSearchLowercaseFieldSortMapper

public interface OpenSearchStoredScriptProvider
Provides a stored script for OpenSearch
Since:
8.8
  • Method Summary

    Modifier and Type
    Method
    Description
    id()
    The id of the script
    org.opensearch.client.opensearch._types.StoredScript
    The script
  • Method Details

    • id

      String id()
      The id of the script
      Returns:
      the id of the script
      Since:
      8.8
    • script

      org.opensearch.client.opensearch._types.StoredScript script()
      The script
      Returns:
      the stored script
      Since:
      8.8