org.compass.annotations |
|
Java Source File Name | Type | Comment |
AnalyzerType.java | enum | The intenral Compass supported analyzers. |
Cascade.java | enum | Specifies cascading for an object relationship. |
EnableAll.java | enum | Controls if the all property will be enabled or not. |
ExcludeAlias.java | enum | |
ExcludeFromAll.java | enum | Specifies if a certain property should be excluded from all property or not. |
Index.java | enum | Specifies whether and how a meta-data proeprty should be indexed. |
ManagedId.java | enum | For class proeprties (
SearchableProperty , and
SearchableId , Compass
might require an internal meta-data to be created, so it can identify the correct
value that match the property and preform proper unmarshalling.
Compass can create this internal meta-data automatcially by analyzing all the properties
in the class using the
ManagedId.AUTO option. |
ManagedIdIndex.java | enum | Controls the index (see
Index ) of the internal managed id generated
(see
ManagedId ). |
Reverse.java | enum | Specifies whether and how the meta-data proeprty should value will be revered. |
Searchable.java | Annotation | Marks a class as searchable.
A searchable class is assoiated with an alias, and allows to perform full
text search on it's mapped properties/fields.
The searchable class is associated with an alias, which can be used to
reference the class when performing search operations, or for other
mappings to extend it.
A class mapping has it's own fully functional index, unless using the
Searchable.subIndex() to join several searchable classes into the same
index (when joining several searchalbe classes into the same index,
the search will be much faster, but updates perform locks on the sub index
level, so it might slow it down).
A searchable class creates an internal "all" meta-data, which holds
searchable information of all the class searchable content. |
SearchableAllMetaData.java | Annotation | For
Searchable classes, allows to control the "all" meta-data
definitions per searchable class.
The "all" meta-data is an internal meta-data, which holds
searchable information of all the class searchable content.
The definitions here are per searchable class definitions. |
SearchableAnalyzerProperty.java | Annotation | Specifies a
Searchable class field/property that dynamically
controls the anlayzer that will be used to analyze the class content. |
SearchableBoostProperty.java | Annotation | Specifies a
org.compass.annotations.Searchable class field/property that dynamically
controls boost value of the class mapped based on its value. |
SearchableCascading.java | Annotation | Allows to define cascading annotation which will result in certain operations done on the object
that holds the property to be cascaded to its referenced objects. |
SearchableClassConverter.java | Annotation | Specifies a class as being "convertable" by Compass.
Mostly used to convert classes into a String value that
will be stored in the index. |
SearchableComponent.java | Annotation | Specifies a searchable component on property or field of the
Searchable class.
A searchable component is a class field/property that reference another class, which
content need to be embedded into the content of its
Searchable class. |
SearchableConstant.java | Annotation | A constant meta-data that can be defined on a
Searchable class. |
SearchableConstants.java | Annotation | Defines a collection of
SearchableConstant associated with a
Searchable class. |
SearchableDynamicMetaData.java | Annotation | A dynamic meta data evaluation of the given expression using an expression
language library. |
SearchableDynamicMetaDatas.java | Annotation | Defines a collection of
org.compass.annotations.SearchableDynamicMetaData associated with
a
org.compass.annotations.Searchable class. |
SearchableId.java | Annotation | Specifies a searchable id on property or field of the
Searchable class.
Each searchable class must have at least one id annotation. |
SearchableIdComponent.java | Annotation | Specifies a searchable id component on property or field of the
org.compass.annotations.Searchable class.
A searchable id component is a class field/property that reference another class, which
content need to be embedded into the content of its
org.compass.annotations.Searchable class and
represents one of its ids.
The referenced class must have searchable definitions, defined either using annotations
or other means (like xml).
Compass will try to automatically identify the searchable class mapping definitions that
map to the component class. |
SearchableMetaData.java | Annotation | Sepcifies additional meta-data on a
SearchableProperty or
SearchableId .
SearchableId and
SearchableProperty can be used to
auto-generate meta-data. |
SearchableMetaDatas.java | Annotation | Defines a collection of
SearchableMetaData associated with
a
Searchable class field/property. |
SearchableParent.java | Annotation | Specifies a parent reference for
SearchableComponent . |
SearchableProperty.java | Annotation | Specifies a searchable property on property or field of the
Searchable class.
The searchable property will automatically create a
SearchableMetaData ,
with its name being the field/property name. |
SearchableReference.java | Annotation | Specifies a searchable reference on property or field of the
Searchable class.
A searchable reference is a class field/property that reference another class, and the
relationship need to be stored by Compass so it can be traversed when getting the class
from the index.
Compass will end up saving only the ids of the referenced class in the search engine index.
The searchalbe reference can annotate a
java.util.Collection type field/property,
supporting either
java.util.List or
java.util.Set . |
SearchableSubIndexHash.java | Annotation | |
SearchAnalyzer.java | Annotation | Configure
Analyzer to be used within Compass.
Set on package definition (package-info.java ).
The
Analyzer is registed under a lookup name (
SearchAnalyzer.name() ), which can then
be reference in the different mapping definitions.
Allows for simple configuration of all analyzers that come with Compass using
SearchAnalyzer.type() .
If the
SearchAnalyzer.type() is set to
AnalyzerType.Snowball , the
SearchAnalyzer.snowballType() can be used to further configure the snowball analyzer. |
SearchAnalyzerFilter.java | Annotation | Configures a
LuceneAnalyzerTokenFilterProvider to be used within Compass.
Set on package definition (package-info.java ).
The
LuceneAnalyzerTokenFilterProvider is registed under a lookup
name (
SearchAnalyzerFilter.name() ), which can then be reference in in the analyzer definition
(i.e. |
SearchAnalyzerFilters.java | Annotation | Defines a collection of
SearchAnalyzerFilter s. |
SearchAnalyzers.java | Annotation | Defines a collection of
SearchAnalyzer s. |
SearchConverter.java | Annotation | Configure
Converter to be used within Compass. |
SearchConverters.java | Annotation | Defines a collection of
SearchConverter s. |
SearchSetting.java | Annotation | A general search setting applied to different search annotations. |
SnowballType.java | enum | The type of the snowball analyzer. |
SpellCheck.java | enum | Specifies if a certain property should be included in the spell check index. |
Store.java | enum | Specifies whether and how a meta-data property will be stored. |
SupportUnmarshall.java | enum | Controls if the
Searchable class support un-marshalling (the process
of converting the raw resource read from the search engine into a domain model
object). |
TermVector.java | enum | Specifies whether and how a meta-data property should have term vectors. |