Annotation Interface ConditionalOnSearchPlatform


@Retention(RUNTIME) @Target({TYPE,METHOD}) @Conditional(OnSearchPlatformCondition.class) public @interface ConditionalOnSearchPlatform
@Conditional that only matches when the "search.platform" property in the application config matches the specified search platform (e.g. Lucene or OpenSearch).
Since:
8.6
  • Element Details

    • value

      The search platform that should be checked. The condition matches when the "search.platform" property in the application config matches with the specified search platform.
      Returns:
      the search platform to check