Lucene in Action, Second Edition cover
Welcome to liveBook!

This is an online version of the Manning book Lucene in Action, 2nd. With liveBook you can access Manning books in-browser — anytime, anywhere.

About this Book


Lucene in Action, Second Edition delivers details, best practices, caveats, tips, and tricks for using the best open-source search engine available.

This book assumes the reader is familiar with basic Java programming. Lucene’s core itself is a single Java Archive (JAR) file, less than 1MB and with no dependencies, and integrates into the simplest Java stand-alone console program as well as the most sophisticated enterprise application.


We organized part 1 of this book to cover the core Lucene Application Programming Interface (API) in the order you’re likely to encounter it as you integrate Lucene into your applications:

What’s new in the second edition?

Who should read this book?

Code examples

Why JUnit?

Code conventions and downloads

Author Online

About the title

About the cover illustration

JUnit primer


JUnit in context

Testing Lucene

Mock objects