O'Reilly logo

Hibernate Search by Example by Steve Perkins

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

Selecting and configuring a directory provider

Both of the built-in index managers use a subclass DirectoryBasedIndexManager. As the name implies, both of them make use of Lucene's abstract class Directory, to manage the form in which indexes are stored.

In the Chapter 7, we will look at some special directory implementations geared for clustered environments. However, in single-server environments the two built-in choices are filesystem storage, and storage in memory.

Filesystem-based

By default, Lucene indexes are stored on the filesystem, in the current working directory of the Java application. No configuration is necessary for this arrangement, but it has been explicitly set in all versions of the VAPORware Marketplace application so far with ...

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