org.compass.annotations

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Search Engine » compass 2.0 » org.compass.annotations 
org.compass.annotations
Java Source File NameTypeComment
AnalyzerType.javaenum The intenral Compass supported analyzers.
Cascade.javaenum Specifies cascading for an object relationship.
EnableAll.javaenum Controls if the all property will be enabled or not.
ExcludeAlias.javaenum
ExcludeFromAll.javaenum Specifies if a certain property should be excluded from all property or not.
Index.javaenum Specifies whether and how a meta-data proeprty should be indexed.
ManagedId.javaenum 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.javaenum Controls the index (see Index ) of the internal managed id generated (see ManagedId ).
Reverse.javaenum Specifies whether and how the meta-data proeprty should value will be revered.
Searchable.javaAnnotation 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.javaAnnotation 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.javaAnnotation Specifies a Searchable class field/property that dynamically controls the anlayzer that will be used to analyze the class content.
SearchableBoostProperty.javaAnnotation

Specifies a org.compass.annotations.Searchable class field/property that dynamically controls boost value of the class mapped based on its value.

SearchableCascading.javaAnnotation 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.javaAnnotation 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.javaAnnotation 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.javaAnnotation A constant meta-data that can be defined on a Searchable class.
SearchableConstants.javaAnnotation Defines a collection of SearchableConstant associated with a Searchable class.
SearchableDynamicMetaData.javaAnnotation A dynamic meta data evaluation of the given expression using an expression language library.
SearchableDynamicMetaDatas.javaAnnotation Defines a collection of org.compass.annotations.SearchableDynamicMetaData associated with a org.compass.annotations.Searchable class.
SearchableId.javaAnnotation Specifies a searchable id on property or field of the Searchable class.

Each searchable class must have at least one id annotation.

SearchableIdComponent.javaAnnotation 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.javaAnnotation Sepcifies additional meta-data on a SearchableProperty or SearchableId .

SearchableId and SearchableProperty can be used to auto-generate meta-data.

SearchableMetaDatas.javaAnnotation Defines a collection of SearchableMetaData associated with a Searchable class field/property.
SearchableParent.javaAnnotation Specifies a parent reference for SearchableComponent .
SearchableProperty.javaAnnotation 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.javaAnnotation 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.javaAnnotation
SearchAnalyzer.javaAnnotation 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.javaAnnotation 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.javaAnnotation Defines a collection of SearchAnalyzerFilter s.
SearchAnalyzers.javaAnnotation Defines a collection of SearchAnalyzer s.
SearchConverter.javaAnnotation Configure Converter to be used within Compass.
SearchConverters.javaAnnotation Defines a collection of SearchConverter s.
SearchSetting.javaAnnotation A general search setting applied to different search annotations.
SnowballType.javaenum The type of the snowball analyzer.
SpellCheck.javaenum Specifies if a certain property should be included in the spell check index.
Store.javaenum Specifies whether and how a meta-data property will be stored.
SupportUnmarshall.javaenum 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.javaenum Specifies whether and how a meta-data property should have term vectors.
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.