Class HibernateSearchService

  • All Implemented Interfaces:
    EventListener, org.springframework.context.ApplicationListener<org.springframework.boot.context.event.ApplicationReadyEvent>

    @Profile("jpa")
    @Service
    public class HibernateSearchService
    extends Object
    implements org.springframework.context.ApplicationListener<org.springframework.boot.context.event.ApplicationReadyEvent>
    • Constructor Detail

      • HibernateSearchService

        public HibernateSearchService()
    • Method Detail

      • onApplicationEvent

        public void onApplicationEvent​(@NonNull
                                       org.springframework.boot.context.event.ApplicationReadyEvent event)
        Specified by:
        onApplicationEvent in interface org.springframework.context.ApplicationListener<org.springframework.boot.context.event.ApplicationReadyEvent>
      • searchBank

        public org.hibernate.search.jpa.FullTextQuery searchBank​(String terms)