Package io.fluxcapacitor.common.search
Annotation Interface SearchInclude
@Target({ANNOTATION_TYPE,METHOD,FIELD,TYPE})
@Retention(RUNTIME)
@Documented
@Inherited
@SearchExclude(false)
public @interface SearchInclude
Marker annotation that indicates that a property is to be included when indexing a document for search. When a
property is included, the document can be matched using this property. Note that inclusion is the default for
properties, so this annotation is only useful to override the effects of
SearchExclude
(true) on a parent or
ancestor.
When this annotation is present on a type, all properties of the class will be included when indexing, unless they
are individually annotated with SearchExclude
(true).
Note that this annotation is an alias for SearchExclude
(false) and has the same effect.