Integrating Compass 2.0 into AppFuse
Last week, Chris Barham showed us an example of how to implement external sorting and paging with AppFuse + DisplayTag. This week, he's at it again with a tutorial titled Searching in AppFuse 2.0.2 with Compass 2.0 and Lucene 2.3.2.
From a message he sent to the mailing list:
I've extended the previous DisplayTag external sorting and paging project to implement full search capability across the domain objects by using Compass 2.0 - http://www.compass-project.org.
Although there are a number of tutorials around for Compass and AppFuse, I thought I'd update as Compass has just gone to version 2.0 and has new features, (annotations etc).
Search results in the example are displayed in plain HTML with Compass' own paging feature, and also using DisplayTag with its paging external feature, (both on the same search results page in the example).
Code is in a branch off the original project called branches/search - check it out with:
svn checkout http://pagingappfuse.googlecode.com/svn/branches/search/ appfusecompass
Instructions on how to implement Compass are here:
http://code.google.com/p/pagingappfuse/wiki/CompassSearching
Cheers,
Chris
Again, great work Chris! We really appreciate your contributions.
I second that.
Im on appfuse 1.9.4 but still these tutorials still work great for me. This month alone have implemented captcha and external sorting from these tutorials.
Im sure ill fit in compass somewhere on the project too!
Matt, is it time for me to move on from 1.9.4. I stayed on it as im an ant lover, assume 1.9.4 will be left as is?
Redd
Posted by reddeagle on May 23, 2008 at 08:40 AM MDT #
I think it's reasonable to ask for better Ant support in 2.x.
Posted by Matt Raible on May 23, 2008 at 01:44 PM MDT #
+1 for better Ant support in 2.x. The main reason is the rest of the team does not like the Maven's approach (prefer to check in all the required libraries in the CVS for _easier_ build ...). Personally, I like Maven very much especially all the out of the box magic and consistency. But I have to create the Ant file just for the rest of the team ...
P.S. One of the biggest complaint for them is about the repository and some libs are not available, even though setting up our own repository (even just file base from a network drive) can handle this already ...
Posted by Chris on May 23, 2008 at 03:08 PM MDT #