Although I've not used it, hibernate does have lucene integration (http://docs.jboss.org/hibernate/search/3.3/reference/en-US/html/search-query.html#search-query-lucene-api)
Tapestry creates a proxy around hibernate's session and users on this list have reported that Search.getFullTextSession(session) does not work with the session proxy. If you add the following to your AppModule: public static FullTextSession buildFullTextSession(final HibernateSessionManager sessionManager, PropertyShadowBuilder propertyShadowBuilder) { Object lazyLoader = new Object() { public FullTextSession getFullTextSession() { // sessionManager is per thread return Search.getFullTextSession(sessionManager.getSession()); } }; return propertyShadowBuilder.build(lazyLoader, "fullTextSession", FullTextSession.class); } You *should* be able to @Inject FullTextSession into your pages/components/services. -- View this message in context: http://tapestry.1045711.n5.nabble.com/LUCENE-SEARCH-component-tp5716563p5716574.html Sent from the Tapestry - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org