Compass Project

From Wikipedia, the free encyclopedia
Jump to: navigation, search
Developer(s) Shay Banon
Stable release 2.2.0 / April 7, 2009 (2009-04-07)
Written in Java
Operating system Cross-platform
Type Search and index
License Apache License 2.0

Compass is a free/open source Java Search Engine Framework built on top of Lucene created by Shay Banon. In 2010, development was stopped as Shay Banon released Elasticsearch.[1]

Compass provides a simple API for working with Lucene (similar to APIs provided by ORM libraries). It has built in support for mapping different data "formats" into the search engine such as OSEM - Object to Search Engine Mapping (using annotations or xml), XSEM - XML to Search Engine Mapping (using simple xpath expressions), JSEM - JSON to Search Engine Mapping and the low level RSEM - Resource to Search Engine Mapping.

Compass integrates with ORM frameworks allowing for a single API to index all the content mapped by both the ORM and Compass. It also provides automatic mirroring of changes made through the ORM API into the search engine. Compass has generic support for JPA and embedded support for Hibernate, OpenJPA, TopLink, and EclipseLink.

Compass supports a distributed Lucene index (both pure Lucene and using Compass) by allowing storage of the Lucene index within data grid products such as GigaSpaces, Oracle Coherence Data Grid, and Terracotta. There is also support for distributed and collocated indexing and searching.

Compass provides extensive integration with the Spring Framework, including transaction management, Spring MVC, and Spring aspects for reflecting operations to the search engine.

See also[edit]

External links[edit]