项目 >> 搜索引擎 >> Compass

Compass

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

Homepage: http://www.opensymphony.com/compass/

Loading...

Compass - 对象/搜索引擎映射(OSEM)

1 Annotations式配置 Compass也提供另一直配置, 使用java5 的annotation 来进行OSEM. 下面就是简单的Plain Old Java Object (POJO)类型的搜索类,使用了Compass annotations.在运行时刻, compass抽取对象属性插入和相应源数据索引中. public class Product { @SearchableId private Integer id; private Category category; private String nam...

Compass - QuickStart

1.概述 Compass将lucene、Spring、Hibernate三者的起来,以很低很低的成本快速实现企业应用中的搜索功能。 HomePage: http://www.opensymphony.com/compass/  springside里用了compass来做图书搜索,快速建立的流程如下: 1.用简单的compass annotation把Book对象映射到Lucene。 2.配置compass默认提供的基于Spring MVC的Index Controller 和Searc...

Compass--在Lucene之上作了什么增强?(Pragmatic系列)

已加入Opensymphony的Compass 是对Lucene搜索引擎在企业应用(数据库应用)中的增强。 Lucene本身的API已经非常简单,看看IBM DW上的Beef up Web search apps with Lucene已经大概了解,那Compass还能做什么样的增强呢?      1.在我的项目里,最实际的增强就是Data Mirror功能。       DataMirror会把数据库的...

Compass学习文档(1)

Compass是第一个实现java搜索引擎的开源框架,它是基于Lucene之上的,提供更简单的搜索引擎API,事务支持,对象到搜索引擎映射(Annotations & XML),Xml到搜索引擎映射,可以和Hibernate,Spring集成,功能非常的强大。如果用Hibernate,Spring做的项目需要搜索引擎的话,Compass是个非常好的选择。个人认为:如果说Lucene是搜索引擎中的JDBC,那么Compass就...