Annotation 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.