Last active
December 17, 2015 08:49
-
-
Save uklance/5582542 to your computer and use it in GitHub Desktop.
Create a hibernate / lucene FullTextSession service that can be @Inject'ed into your tapestry pages and services
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Scope(ScopeConstants.PERTHREAD) | |
public static FullTextSession buildFullTextSession(PropertyShadowBuilder propertyShadowBuilder) { | |
return Search.getFullTextSession(sessionManager.getSession()); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment