Interseting Blog Post
Tuesday, July 29th, 2008Just stumbled upon this blog post about Compass and Grails Searchable Plugin.
Just stumbled upon this blog post about Compass and Grails Searchable Plugin.
Upcoming Compass 2.1 M3 now has a new feature allowing for lazy loaded reference mapping in Compass when using it on top of collections. Reference mapping in Compass simply stores the relationship between one object and another (the ids), and many times there is no need to load all the references in advance while unmarshalling an object. Now, reference mappings on top of collections can be lazily loaded. Here is an example:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | @Searchable public class Customer { @SearchableId private int id; @SearchableReference(lazy = Lazy.TRUE) private List<Order> orders; } @Searchable public class Order { @SearchableId private int id; } |
Compass version 2.1.0 M2 released. No major features, but several minor important ones. Check out the release notes. Enjoy!.
The tech talk I did with Jason Carriera talking about data grids and beyond is online. Check it out here.
Compass version 2.1.0 M1 released. The release includes several features including a much improved XSEM support (namespace xpath, better stax integration, jdom integration), Dynamic mappings removal and additions, JSEM - JSON to Search Engine Mapping support, and Collocated integration and distributed search with GigaSpaces. It also includes several bug fixes (with the important ones backported to 2.0 branch). Enjoy!.