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
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic class
- 
Required Element SummaryRequired ElementsModifier and TypeRequired ElementDescriptionThe search platform that should be checked.
- 
Element Details- 
valueSearchPlatform valueThe 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
 
 
-