Compass是首个公开源代码的Java搜索引擎框架。
Compass is a first class open source Java Search Engine Framework, enabling the power of Search Engine semantics to your application stack decoratively. Built on top of the amazing Lucene Search Engine, Compass integrates seamlessly to popular development frameworks like Hibernate and Spring. It provides search capability to your application data model and synchronizes changes with the datasource. With Compass: write less code, find data quicker.
As of version 0.8, Compass also provides a Lucene Jdbc Directory implementation, allowing storing Lucene index within a database for both pure Lucene applications and Compass enabled applications. Note, when using Compass, using a database as the index storage requires only updating configuration settings.
一:compass core 是compass最基础的部分,它对lucene做了事务索引、搜索引擎抽象、对象关系映射、事务管理集成、不同的影射技术(OSEM,XSEM,RSEM)等扩展。它的目标是应用于不同的场景和环境,简化搜索引擎的核心操作。
二:Compass Gps的目标是继承不同的内容来源,最主要的特征是和不同的ORM框架,比如Hibernate,JPA,JDO,OJB等的集成,允许在搜索引擎和一种以ORM方式从数据库中取内容的持久框架进行透明方式的集成。除ORM框架外,还支持与JDBC的集成,允许通过配置SQL表达式抽取内容达到索引数据库内容的目的。
三:Compass Spring主要完成Compass和Spring framework的集成。spring是一个基于依赖注射和其它技术提供简化开发模式的应用框架。compass在spring framework的代码基础上以和集成ORM框架相同简单的方式集成spring,而且也集成了Spring抽象事务层、AOP支持以及MVC库。
Compass is a first class open source Java Search Engine Framework, enabling the power of Search Engine semantics to your application stack decoratively. Built on top of the amazing Lucene Search Engine, Compass integrates seamlessly to popular development frameworks like Hibernate and Spring. It provides search capability to your application data model and synchronizes changes with the datasource. With Compass: write less code, find data quicker.
As of version 0.8, Compass also provides a Lucene Jdbc Directory implementation, allowing storing Lucene index within a database for both pure Lucene applications and Compass enabled applications. Note, when using Compass, using a database as the index storage requires only updating configuration settings.
一:compass core 是compass最基础的部分,它对lucene做了事务索引、搜索引擎抽象、对象关系映射、事务管理集成、不同的影射技术(OSEM,XSEM,RSEM)等扩展。它的目标是应用于不同的场景和环境,简化搜索引擎的核心操作。
二:Compass Gps的目标是继承不同的内容来源,最主要的特征是和不同的ORM框架,比如Hibernate,JPA,JDO,OJB等的集成,允许在搜索引擎和一种以ORM方式从数据库中取内容的持久框架进行透明方式的集成。除ORM框架外,还支持与JDBC的集成,允许通过配置SQL表达式抽取内容达到索引数据库内容的目的。
三:Compass Spring主要完成Compass和Spring framework的集成。spring是一个基于依赖注射和其它技术提供简化开发模式的应用框架。compass在spring framework的代码基础上以和集成ORM框架相同简单的方式集成spring,而且也集成了Spring抽象事务层、AOP支持以及MVC库。