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:
Again, great work Chris! We really appreciate your contributions.