Lucene In Action En Lucene in Action
Review of : NicolaMura
Lucene is a information retrieval tool written in Java, it is integration oriented with applications that need an inner search engine.
The focus of Lucene in action is to supply a high degree of competence on Lucene, leaving from a knowledge level equal or greater than zero.
The approach is focused to render simpler the learning of this technology as possible; in fact the book is subdivided in two parts:
Core Lucene: in which are explained the Lucene's features focusing on the aspects that become more complicated as proceeds in reading chapters.
Applied Lucene: in which it introduces the issues on which is possible to take advantage from the employment of Lucene.
Used English is easy comprehensible and the example code comes, shown to the reader avoiding the use of "hello world" style. In fact, it is preferred to introduce the example code through test methods according to the JUnit paradigm in order to give a view of project development.
Moreover, numbers are assigns to the fundamental lines of code that are explained in the text allowing to fastly learning details.
First part is focused on the two main functionalities offered by Lucene: the indexing and the search. For both is evidenced and described the been involved main classes; for the indexing:
and for the search:
The explanation comes deepened on vertical thematic lines. In fact, leaving from the listed classes above are described eventual specialistic subclasses; for example: for the several search requirements, next Query subclasses are available: TermQuery, BooleanQuery, PhraseQuery, PrefixQuery, PhrasePrefixQuery, RangeQuery, FilteredQuery SpanQuery.
In the second part (Applied Lucene) is introduced a series of solutions that take advantage of or extend Lucene features. This section begin with the use case of the indexing documents like DOC, PDF, HTML, XML, in order to arrive to presentation of case studies in which is explained which projects use actually Lucene.
In this part the authors introduce some third parts tools that integrate Lucene or allow to interact with it. This is for example the case of tool Luke and Limo that concur to handle index file respective through graphical interface and Web.Finally, is showed the cases of Lucene integration with other programming languages through appropriate ports developed from as many community.
Lucene in Action is the reference book on Lucene. Sure, it is advised those who want to fastly learn to employ this tool and that they want to have, however, the guarantee that when development/integration requirements become more particular, can find answer in deeper book's sections.
A nice thing: the Lucene in action official site http://www.lucenebook.com/ shows a search function on the contents of this book implemented with Lucene!