Annotation Type 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
-
-
Required Element Summary
Required Elements Modifier and Type Required Element Description SearchPlatform
value
The search platform that should be checked.
-
-
-
Element Detail
-
value
SearchPlatform 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
-
-