concept Lucene directory in category hibernate

appears as: Lucene directory, Lucene directories
Hibernate Search in Action

This is an excerpt from Manning's book Hibernate Search in Action.

Let’s take the mapping we used in section 3.2.2. We’ve mapped two entities, Dvd and Drink, both inheriting from the Item superclass. Luke must read the Lucene directory from a filesystem; unfortunately, it’s not possible to configure Luke to read in-memory directories. Our project will then use the default FSDirectoryProvider, as shown in listing 3.7. Don’t forget to set the indexBase property.

  • Set up a Lucene directory for an index