Lucene in Action: Covers Apache Lucene 3.0 (2nd Edition)

By Erik Hatcher, Otis Gospodnetic, Michael McCandless

Whilst Lucene first hit the scene 5 years in the past, it used to be not anything wanting outstanding. by utilizing this open-source, hugely scalable, super-fast seek engine, builders might combine seek into purposes quick and successfully. much has replaced due to the fact then-search has grown from a "nice-to-have" characteristic into an critical a part of such a lot firm functions. Lucene now powers seek in varied businesses together with Akamai, Netflix, LinkedIn, Technorati, HotJobs, Epiphany, FedEx, Mayo medical institution, MIT, New Scientist journal, and plenty of others.

Some issues stay an analogous, even though. Lucene nonetheless offers high-performance seek positive factors in a disarmingly easy-to-use API. as a result of its vivid and numerous open-source group of builders and clients, Lucene is relentlessly bettering, with evolutions to APIs, major new beneficial properties similar to payloads, and an important raise (as a lot as 8x) in indexing pace with Lucene 2.3.

And with transparent writing, reusable examples, and unrivaled recommendation on most sensible practices, Lucene in motion, moment version remains to be the definitive consultant to constructing with Lucene.

Show description

Quick preview of Lucene in Action: Covers Apache Lucene 3.0 (2nd Edition) PDF

Similar Development books

Introduction to Programming Using Python plus MyProgrammingLab with Pearson eText -- Access Card

Word: earlier than deciding to buy, seek advice from your teacher to make sure you decide upon the right kind ISBN. a number of models of Pearson's MyLab & learning items exist for every name, and registrations will not be transferable. To sign in for and use Pearson's MyLab & studying items, you can even want a direction identity, which your teacher will supply.

Ground Control: Fear and Happiness in the Twenty-First-Century City

While the figures say crime is falling, why are we extra anxious than ever? might our cities and towns be growing worry and distrust? extra estate is being in-built Britain than at any time because the moment international conflict - yet it really is owned by way of deepest organizations, designed for revenue and watched over by means of CCTV.

The Dragon's Gift: The Real Story of China in Africa

Is China a rogue donor, as a few media pundits recommend? Or is China supporting the constructing international pave a pathway out of poverty, because the chinese language declare? within the previous couple of years, China's reduction software has leapt out of the shadows. Media experiences approximately large reduction applications, help for pariah regimes, regiments of chinese language exertions, and the ruthless exploitation of staff and normal assets in a few of the poorest nations on the earth sparked fierce debates.

The Coming Prosperity: How Entrepreneurs Are Transforming the Global Economy

Ours is the main dynamic period in human heritage. the advantages of 4 centuries of technological and organizational swap are finally achieving a formerly excluded worldwide majority. this change will create large-scale possibilities in richer international locations just like the usa simply because it has in poorer nations now within the ascent.

Additional resources for Lucene in Action: Covers Apache Lucene 3.0 (2nd Edition)

Show sample text content

Seek consumer Interface The person interface is what clients really see, within the net browser, laptop program, or cellular equipment, after they engage together with your seek program. The UI is an important a part of your seek program! you have got the best seek engine on the earth below the hood, tuned with fantastic state of the art performance, yet with one foolish mistake, the UI will lack consumability, therefore complicated your priceless and fickle clients who will then quietly circulate directly to your opponents. maintain the interface uncomplicated: don’t current loads of complicated concepts at the first web page. supply a ubiquitous, renowned seek field, obvious far and wide, instead of requiring a two-step technique of first clicking a seek hyperlink after which coming into the hunt textual content (this is a typical mistake). Don’t underestimate the significance of outcome presentation. easy info, like failing to focus on fits within the titles and excerpts, or utilizing a small font and cramming an excessive amount of textual content into the consequences, can quick kill a user’s seek event. ensure the kind order is obviously referred to as out and defaults to a suitable place to begin (usually relevance). Be totally obvious: in case your seek software is doing anything “interesting,” akin to increasing the hunt to incorporate synonyms, utilizing boosts to steer type order, or immediately correcting spelling, say so essentially on the most sensible of the quest effects and make it effortless for the person to show it off. notice The worst factor which may take place, and it occurs relatively simply, is to erode the user’s belief within the seek effects. as soon as this occurs, your clients will quietly circulation on and you can by no means back have the opportunity to earn again that belief. such a lot of all, devour your individual pet food: use your personal seek software commonly. get pleasure from what’s reliable approximately it, yet aggressively right what’s undesirable. in all likelihood your seek interface should still supply spell correction. Lucene has a contrib module, spellchecker, coated in part eight. five, for you to use. Likewise, supplying dynamic excerpts (sometimes known as summaries) with hit highlighting less than each one seek result's very important, and Lucene’s contrib listing bargains such modules, highlighter and speedy vector highlighter, lined in sections eight. three and eight. four, to deal with this. Lucene doesn’t offer any default seek UI; it’s solely as much as your program to construct one. as soon as a consumer interacts along with your seek interface, he or she submits a seek request, which first needs to be translated into a suitable question item for the quest engine. construct question in case you have the capacity to appeal to a consumer to take advantage of your seek software, he or she concerns a seek request, frequently because the results of an HTML shape or Ajax request submitted through a browser on your server. you need to then translate the request into the quest engine’s question item. We name this the construct question step. question items should be easy or complicated. Lucene presents a strong package deal, referred to as QueryParser, to procedure the user’s textual content right into a question item in line with a typical seek syntax.

Download PDF sample

Rated 4.17 of 5 – based on 21 votes