20080522 Thursday May 22, 2008

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. Posted in Java at May 22 2008, 09:24:47 PM MDT 3 Comments

Comments:

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 02:40 AM MDT #

I hope to release AppFuse 1.9.5 in the next month. However, it'll likely consist mostly of library upgrades unless someone properly adjusts JIRA tickets. I won't be adding any new features since it's a point release.

I think it's reasonable to ask for better Ant support in 2.x.

Posted by Matt Raible on May 23, 2008 at 07:44 AM 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 09:08 AM MDT #

Post a Comment:
  • HTML Syntax: Allowed
Click me to subscribe
Matt Raible is a Web Architect who enjoys developing applications with open source technologies. Contact me for rates.
« December 2008
SunMonTueWedThuFriSat
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
   
       
Today

Recent Entries

Tag Cloud