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

Summary

In this chapter we saw how to update Lucene indexes manually, one entity object at a time or in bulk, as an alternative to letting Hibernate Search manage updates automatically. We learned about the fragmentation that accumulates from Lucene update operations, and how to approach optimization on a manual or automatic basis.

We explored various performance tuning options for Lucene, from low-latency writes to multi-threaded asynchronous updates. We now know how to configure Hibernate Search for creating Lucene indexes on either the filesystem or RAM, and why you might choose one over the other. Finally, we worked with the Luke utility to inspect and perform maintenance tasks on a Lucene index without having to go through an application's ...

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