`
killazy
  • 浏览: 31688 次
最近访客 更多访客>>
社区版块
存档分类
最新评论

【译】Compass简介、模型

阅读更多
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库。

分享到:
评论
2 楼 killazy 2007-06-21  
不好意思,浪费了你的时间。我已经意识到我说的是废话。所以我决定不再写此类文章了,除非我认为有用,我不会写下来了。
1 楼 li87654 2007-06-04  
你说的都是费话!!

相关推荐

Global site tag (gtag.js) - Google Analytics