@Component(value="fullTextSessionFactory") public class FullTextSessionFactory extends Object
FullTextSession
instances.
Having this factory as a spring bean provides a mechanism that allows external code and modules
to advise the factory. It is highly recommended to use this factory to create instances of the
FullTextSession
rather than directly calling Search.getFullTextSession(Session)
for proper functionality.Constructor and Description |
---|
FullTextSessionFactory() |
Modifier and Type | Method and Description |
---|---|
org.hibernate.search.FullTextSession |
getFullTextSession()
Obtains a
FullTextSession instance. |
Copyright © 2019 OpenMRS Inc.. All rights reserved.