O'Reilly logo

Hibernate Search in Action by John Griffin, Emmanuel Bernard

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 2. Getting started with Hibernate Search

This chapter covers
  • What is Hibernate Search?
  • How to set up and configure Hibernate Search
  • An introduction to mapping your domain model
  • An introduction to indexing your data
  • An introduction to doing full-text queries
  • How to use Luke

In the chapter 1, we discussed difficulties of integrating a full-text search engine such as Apache Lucene into a Java application centered on a domain model and using Hibernate or Java Persistence to persist data. More specifically, we saw three mismatches:

  • Structural mismatchHow to convert the object domain into the text-only index; how to deal with relations between objects in the index.
  • Synchronization mismatchHow to keep the database and the index synchronized ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required